scale_sd: Preprocess numeric variables

View source: R/0_util.r

scale_sdR 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])

spinifex documentation built on March 31, 2022, 9:06 a.m.