standardize: Given a numeric matrix, the following 'standardize' function...

Description Usage Arguments Value Examples

View source: R/NguyenToolsnguyenPkgRfunctionsHW2.R

Description

Standardizes the columns of a numeric matrix. Standardization is computed as (value - mean(col))/(sd(col))

Usage

1

Arguments

a

numeric matrix

Value

Standardized matrix

Examples

1
2
3
load(url("http://www.stat.umn.edu/geyer/3701/data/q2p3.rda"))
ls()
standardize(a)

benjnguyen/NguyenTools documentation built on May 25, 2019, 3:22 p.m.