normalize_df: This function normalizes the n umeric columns in a data frame...

Description Usage Arguments Value

View source: R/preparing_data.R

Description

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

Usage

1
normalize_df(df, target_variable = NA, facs_df)

Arguments

df

a data frame

target_variable

a string name for the target variable

facs_df

the factors to normalize by

Value

a data frame with numerical columns normalized


pbhogale/simplexgb documentation built on Nov. 27, 2021, 3:06 p.m.