StdData | R Documentation |
Standardize a vector or colums of a matrix
StdData(X, method)
X |
"Numercial". The data to be standardized. "X" should be a numeric matrix or a vector. The standardization methods do _NOT_ apply to tho following situations: 1) there is only one row in the matrix. 2) some colums have constant values. |
method |
"Numerical". If "stdnorm", X will be standardized with mean zero and standard deviation 1. If "-1to1", X will be restricted to [-1, 1]. The "method" applies to each colums for a matrix or a vector. |
A matrix or a vector depends on the input X
First: Thu Mar 4 13:50:30 CET 2010 Current: Sun Dec 21 04:24:52 EST 2014
Feng Li, Dept. of Statistics, Stockholm University, Sweden.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.