View source: R/apply_over_vars.R
Apply a function over variables in a dataframe.
1 | apply_over_vars(df, vars, f)
|
df |
dataframe. The dataframe to apply the function over. |
f |
function. The function to apply. |
vars. |
A list of the variable names to apply to, or a character regex pattern to search for (using 'get_vars'). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.