Learn R Programming

Colossus (version 1.4.3)

apply_norm: Automatically applies a normalization to either an input or output

Description

apply_norm applies a normalization factor

Usage

apply_norm(df, norm, names, input, values, model_control)

Value

returns list with the normalized values

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()