scale_sd: Preprocess numeric variables

Description Usage Arguments Examples

View source: R/0_util.r

Description

Centers and scales each column by standard deviation (sd) or to the interval (0, 1).

Usage

1
2
3

Arguments

data

Numeric matrix or data.frame of the observations.

Examples

1
2
scale_sd(data = wine[, 2:6])
scale_01(data = wine[, 2:6])

spinifex documentation built on Sept. 28, 2021, 5:09 p.m.