Description Usage Arguments Value See Also Examples
Grep for column names from a data.frame
1 2 3 4 5 6 7 8 9 10 11 |
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 2 3 4 5 6 7 | d <- data.frame(xa=1, yb=2)
# starts with
grepdf('^x', d)
# ends with
grepdf('b$', d)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.