Description Usage Arguments Value Examples
View source: R/NguyenToolsnguyenPkgRfunctionsHW2.R
Standardizes the columns of a numeric matrix. Standardization is computed as (value - mean(col))/(sd(col))
1 | standardize(a)
|
a |
numeric matrix |
Standardized matrix
1 2 3 | load(url("http://www.stat.umn.edu/geyer/3701/data/q2p3.rda"))
ls()
standardize(a)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.