Description Usage Arguments Value Author(s) Examples
Remove columns with specific trash
1 2 |
df |
Data frame to column filter |
unique |
Boolean for whether to return only unique rows after column filtering |
trash |
Character vector containing all the trash values, besides NA, for which a column can be removed |
requireAll |
Boolean as to whether you want to require all rows in a column to equal a value in |
except |
Character vector containing all column names to ignore when dropping columns (these will be retained regardless of the other parameter choices). |
Returns a columnn filtered data frame. Note, does not take into account numeric, integer or character value differences (it will treat them all the same).
Amy Paguirigan
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.