I have a named logical, and I want to use it to filter the original data frame where the logical vector is FALSE
I have tried using the conjunction of the two but this doesn't work.
The named logical vector is as below:
fr_Ar_COO fr_C_S fr_SH fr_aldehyde
TRUE TRUE TRUE FALSE
And I want to filter a data frame which is like this: (the column names)
fr_Ar_COO fr_C_S fr_SH fr_aldehyde active
so fr_aldehyde
should be filtered out because the logical vector has it equal to FALSE