Gets a character vector with all the factor/numeric variables in the specified
data.frame
df.
1 2 3 | get_factor_vars(df, target_var, ignore_vars = c())
get_numeric_vars(df, target_var, ignore_vars = c())
|
df |
The input |
target_var |
A string with the name of the target variable |
ignore_vars |
A character vector with the variables to ignore |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.