search_list | R Documentation |
Takes a list of dataframes and searches their variables for either a specific variable name or for a string within the variable names.
search_list(ls, string, exact = TRUE, ignore.case = FALSE)
ls |
A list of dataframes |
string |
A string, either the exact variable name or something to search for. |
exact |
Logical. If |
ignore.case |
Logical. Determines whether to ignore case when
|
A data.frame
files <- list(mtcars = mtcars, iris = iris)
search_list(files, "Sepal", exact = FALSE)
search_list(files, "hp")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.