Displaying 1 result from an estimated 1 matches for "meetsyourcondit".
2003 Jan 23
1
subset dataframe based on rows
I want to subset the dataframe based on certain values in a row.
for each row in my dataframe
if ANY one value of a particular set of columns satisfies cond
append a logical value true at the end of the row
else
append a false at the end of the row
in the end I want to be able to subset the whole data based on the
appended true or false value.
I could literally code like this, but I think