View source: R/scale_continuous_predictors.R
scale_continuous_predictors | R Documentation |
This function linearly scales variables in data objects according to a data dictionary. The data dictionary has at least two columns, "variable" and "scaling_denominator". "Variable" is divided by "scaling_denominator".
scale_continuous_predictors(data, scaling_dictionary)
data |
a data object with variables. |
scaling_dictionary |
a data.frame with two columns that are called "variable" and "scaling_denominator". |
The data with the newly scaled 'variables'.
Till D. Best
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.