standardize: Standardize the input vector

Description Usage Arguments Value Examples

View source: R/rectifiedI.R

Description

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

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

Usage

1
standardize(vectorI, W)

Arguments

vectorI

vector to be standardized.

W

weighed distance matrix

Value

z values

Examples

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

Irescale documentation built on Nov. 22, 2019, 1:07 a.m.