z score
Calculate z-scores (i.e., standardize or obtain the standard scores)
z_score(x = NULL, na.rm = TRUE)
x
: a numeric vectorna.rm
: logical. If na.rm = TRUE
, NA values in the vector will be removed before calculating z-scores (default = TRUE).the output will be a vector of z-scores.
z_score(1:10)
Useful links