standardize: standardize

Description Usage Arguments Value Examples

Description

standardize returns a copy of a vector that has been both centered and scaled.

Usage

1

Arguments

x

a vector of numeric or integer values

Value

a vector of numeric values

Examples

1
2
a <- c(5, 0, 5, 1, 2, 3, 0, 2, 2, 6)
standardize(a)

peter-linlin/standarize2 documentation built on May 7, 2019, 8:23 a.m.