standardize {Irescale} | R Documentation |
standardize
Calculates the z-values of the input vector.
#'
z = \frac{vectorI - meanI}{\sqrt{varI}}
standardize(vectorI, W)
vectorI |
vector to be standardized. |
W |
weighed distance matrix |
z values
W<-matrix(runif(100, min=0, max=1),nrow=10,ncol=10)
vectorI<-runif(10, min=0, max=1)
standardize(vectorI,W)