filter_rx {k5} | R Documentation |
Filter a data frame by a regular expression
Description
A shortcut for dat %>% filter(str_detect(column, "\\d"))
.
Usage
filter_rx(dat, col, pattern, ...)
Arguments
dat |
A data frame with a character column to filter. |
col |
The column containing a character vector to input. |
pattern |
Pattern to look for.. |
... |
Additional arguments passed to |
Value
A subset of rows from dat
.
[Package k5 version 0.2.1 Index]