powered by
Performs Z-score normalization to transform numerical variables.
zscore( x, na.rm = FALSE )
a numerical vector, matrix or data.frame.
vector
matrix
data.frame
a logical value indicating whether NA values in x should be stripped before the computation proceeds.
x
transformed version of x.
transform, minmax
transform
minmax
# NOT RUN { x = c( 2.3, -1.4, 0, 3.45 ) zscore( x ) # }
Run the code above in your browser using DataLab