View source: R/get_num_scale.R
get_num_scale | R Documentation |
Internal function not to be called by the user
get_num_scale(X)
X |
a matrix to be scaled |
Internal function. get_num_scale
is called by
plspm
.
scaled matrix
Do NOT use this function unless you are ME, a package developer, or a jedi user who really knows what is doing (seriously!)
scales a matrix X in such a way that mean(X[,j])=0 and varpop(X[,j])=1 this means that sum(X[,j]^2) = n if MD, sum(X[,j]^2, na.rm=T) = number of available elements
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.