zscore | R Documentation |
Performs Z-score normalization to transform numerical variables.
zscore( x, columns = NULL, na.rm = FALSE )
x |
a numerical |
columns |
which columns are going to tranfer for the cases that |
na.rm |
a logical value indicating whether NA values in |
transformed version of x
.
Reza Mohammadi a.mohammadi@uva.nl and Kevin Burke kevin.burke@ul.ie
transform
, minmax
x = c( 2.3, -1.4, 0, 3.45 )
zscore( x )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.