| ident {assist} | R Documentation |
Scaling a Vector
Description
Perform standarization of vector relative to another.
Usage
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.
[Package assist version 3.1.9 Index]