Automatically applies a normalization to either an input or output
Source:R/Utility.R
apply_norm.Rdapply_norm applies a normalization factor
Arguments
- df
The data.table with columns to be normalized
- norm
The normalization option used, currently max or mean
- names
columns for elements of the model, used to identify data columns
- input
boolean if the normalization is being performed on the input values or on an output
- values
list of values using during normalization
- model_control
controls which alternative model options are used, see the Control_Options vignette for further details
See also
Other Data Cleaning Functions:
Check_Iters(),
Date_Shift(),
Event_Count_Gen(),
Event_Time_Gen(),
Joint_Multiple_Events(),
Replace_Missing(),
Time_Since(),
factorize(),
gen_time_dep()