Grep for column names from a data.frame
grepdf( pattern, x, ..., ignore.case = FALSE, perl = FALSE, value = FALSE, fixed = FALSE, useBytes = FALSE, invert = FALSE )
| pattern | passed to |
|---|---|
| x | data.frame to work with |
| ... | force later arguments to be passed by name |
| ignore.case | passed to |
| perl | passed to |
| value | passed to |
| fixed | passed to |
| useBytes | passed to |
| invert | passed to |
column names of x matching grep condition.
#> [1] "xa"# ends with grepdf('b$', d)#> [1] "yb"