Hi,
I'm having a problem which I don't know how to solve most easily. I have a dataframe (DF1) and a vector (one-row dataframe, DF2). What I want to do is check per line item in DF1 if the value is above the value in the corresponding column in DF2.
Attached is a snippet of the two dataframe merged together. What I want to do is filter on those line items where 'Total Pawdacity Sale" is higher then 'LowerFence_PawdacitySales'. Using filter doesn't work with JOIN because it only takes into account the first row.
Can you do an IFTHENELSE with mutiple inputs? Or is there a way to copy he figures of the LowerFences variables over the other 10 rows?
many thanks