apply_grooming_rule | R Documentation |
apply_grooming_rule
apply_grooming_rule(df, index, keep_NA = TRUE)
df |
the df we are manipulating |
index |
a conditional index length(index) == nrow(df). TRUE means it stays, FALSE means it is being excluded from |
keep_NA |
if index has NA's and this is true then they stay in the data |
will remove rows from a data frame based on the conditional vector index.
a modified version of df with the FALSE values from 'index' removed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.