| standardize_data_matrix | R Documentation |
Standardizes the columns of a data matrix.
standardize_data_matrix(X)
X |
The n x p design matrix |
The n x p design matrix with columns standardized
Adam Kapelner
## Not run:
X = matrix(rnorm(12), nrow = 6)
Xstd = standardize_data_matrix(X)
colMeans(Xstd)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.