I'd like to extract df (tax_table
) rows that match a character vector (gross
) in ANY column. I know to specify for a specific column is:
grossasv <- tax_table[tax_table$column %in% gross,]
but how about every column?
I'd like to extract df (tax_table
) rows that match a character vector (gross
) in ANY column. I know to specify for a specific column is:
grossasv <- tax_table[tax_table$column %in% gross,]
but how about every column?