grepl_all | R Documentation |
grepl
across many variables in a data frame.grepl_all
is useful for searching an entire data frame for a pattern
and can be used for filtering.
grepl_all(df, pattern, ignore.case = FALSE)
df |
Data frame. |
pattern |
Pattern to match with |
ignore.case |
Use case sensitive matching? Default is |
Logical vector with the length of ncol(df)
.
Stuart K. Grange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.