scale_dataset.Rd
Scale the dataset and return the scaling parameters
scale_dataset(dataset, center = NULL, scale = NULL)
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 |
a list consisting of scaled data (date not touched) and center and scale