scale_sd {spinifex} | R Documentation |
Preprocess numeric variables
Description
Centers and scales each column by standard deviation (sd) or to the interval (0, 1).
Usage
scale_sd(data)
scale_01(data)
Arguments
data |
Numeric matrix or data.frame of the observations. |
Examples
scale_sd(data = wine[, 2:6])
scale_01(data = wine[, 2:6])
[Package spinifex version 0.3.7.0 Index]