Description Usage Arguments Details Value
This function applies the standardize function to each regional grouping and recombines the resutls into a single data frame.
1 | standardize_byrgn(df, vars)
|
df |
Data frame with the data to be standardized. |
vars |
Vecotr of names of columns to be standardized. |
The means and scales for the transformations are stored in the mean and scale attributes of the output. Each is a list indexed by region, with each list element being a named vector indexed by variable.
Data frame with the requested variables standardized.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.