standardize {Irescale}R Documentation

Standardize the input vector

Description

standardize Calculates the z-values of the input vector. #'

z = \frac{vectorI - meanI}{\sqrt{varI}}

Usage

standardize(vectorI, W)

Arguments

vectorI

vector to be standardized.

W

weighed distance matrix

Value

z values

Examples

W<-matrix(runif(100, min=0, max=1),nrow=10,ncol=10)
vectorI<-runif(10, min=0, max=1)
standardize(vectorI,W)

[Package Irescale version 2.3.0 Index]