ident: Scaling a Vector

Description Usage Arguments Details Value

Description

Perform standarization of vector relative to another.

Usage

1
ident(x, y = x)

Arguments

x

a numeric vector, matrix or data frame

y

an optional numeric vector, matrix or data frame. Default is x.

Details

Scale y based on x component by component. For example, if both are a matrix, y[,i]=(y[,]-min(x[,i]))/(max(x[,i])-min(x[,i])).

Value

a scaled y.


catherinewang1/assist documentation built on June 16, 2019, 1:36 p.m.