Scale the dataset and return the scaling parameters

scale_dataset(dataset, center = NULL, scale = NULL)

Arguments

dataset

the dataset of date column, plus features

center

the values to use for centering if not NULL

scale

the values to use for scaling if not NULL

Value

a list consisting of scaled data (date not touched) and center and scale