get_num_scale: Non-Metric Numerical Scale

View source: R/get_num_scale.r

get_num_scaleR Documentation

Non-Metric Numerical Scale

Description

Internal function not to be called by the user

Usage

  get_num_scale(X)

Arguments

X

a matrix to be scaled

Details

Internal function. get_num_scale is called by plspm.

Value

scaled matrix

Warning

Do NOT use this function unless you are ME, a package developer, or a jedi user who really knows what is doing (seriously!)

Note

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


gastonstat/plspm documentation built on April 8, 2022, 5:59 a.m.