df_get_var_names | R Documentation |
Returns user specified variable names. Supports standard and non standard evaluation.
df_get_var_names(data, ..., vars = NULL)
data |
a data frame |
... |
One or more unquoted expressions (or variable names) separated by commas. Used to select a variable of interest. |
vars |
a character vector containing the variable names of interest. |
a character vector
# Non standard evaluation ToothGrowth %>% df_get_var_names(dose, len) # Standard evaluation ToothGrowth %>% df_get_var_names(vars = c("len", "dose"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.