Description Usage Arguments Value
View source: R/preparing_data.R
This function normalizes the n umeric columns in a data frame by subtracting the mean and dividing by the standard deviation given by the df from get_normalizing_factors
1 | normalize_df(df, target_variable = NA, facs_df)
|
df |
a data frame |
target_variable |
a string name for the target variable |
facs_df |
the factors to normalize by |
a data frame with numerical columns normalized
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.