Skip to contents

apply_norm applies a normalization factor

Usage

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

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

Value

returns list with the normalized values