Description Usage Arguments Details Examples
vs
returns a vector of all column names that contain the string
chars
1 |
chars |
the character string to search for in the column names of
|
ds |
object (i.e. data.frame) whose column names will be searched |
ignore_case |
if |
This function is meant to help you find the column name of interest when there are too many columns to visually search for the one you want
1 2 3 4 5 6 | data = data.frame(apple = 1:4,
orange = 5:8,
orangutan = 2:5,
applause = 3:6)
vs("oran", data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.