get_df_names | R Documentation |
Get variable names from data.frame or list
get_df_names(data, ...)
data |
a data.frame or list |
... |
symbol, character vector of names |
get_df_names(mtcars, mpg, cyl, disp, hp)
get_df_names(mtcars, c("mpg", "cyl", "disp", "hp"))
x <- c("mpg", "cyl", "disp", "hp")
get_df_names(mtcars, x)
x <- c("mpg", "cyl", "disp", "hp2")
try(get_df_names(mtcars, x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.