scale_dataset: Scale the dataset and return the scaling parameters

Description Usage Arguments Value

View source: R/process-data.R

Description

Scale the dataset and return the scaling parameters

Usage

1
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


bnaras/SBCpip documentation built on May 5, 2019, 6:54 p.m.