expandVarAll | R Documentation |
This function automates the expansion of variables in a dataset according to a set of predefined actions. If no action is specified, it retrieves the dictionary of actions. It identifies all variables within the dataset that have been tagged for expansion and applies the expansion action to each.
expandVarAll(data, action = NULL)
data |
A data frame containing the variables to be expanded. |
action |
Optional; an action or set of actions to apply for expanding the variables.
If |
Returns the modified data frame with the specified variables expanded.
## Not run:
# Assuming 'data' is a data frame and 'action' is defined or NULL to use default actions
expandVarAll(data = data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.