Description Usage Arguments Details Examples
List variable names / vector items which match a search expression
1 2 3 4 5 6 7 8 9 10 11 |
pattern |
A character string regex search expression |
data |
A data.frame object |
findvarname
is a legacy function specific to data.frames. The fvn
function works for character vectors and data.frames. If the input is a data.frame, the matching variable names are sorted into alphabetical order. If the input is a character vector, the values are returned in the original order.
The function fv
allows for non-standard evaluation, i.e., the search pattern does not need to be in quotes.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.