View source: R/ignore_by_grep.R
Drops all columns that match lists of regex strings.
1 | ignore_by_grep(df, ..., keep = NULL)
|
df |
dataframe. The dataframe to drop columns from. |
... |
lists. Lists containing regex strings to match against. |
keep |
character. A vector of variable names to not drop, despite regex. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.