z_score: z score

View source: R/z_score.R

z_scoreR Documentation

z score

Description

Calculate z-scores (i.e., standardize or obtain the standard scores)

Usage

z_score(x = NULL, na.rm = TRUE)

Arguments

x

a numeric vector

na.rm

logical. If na.rm = TRUE, NA values in the vector will be removed before calculating z-scores (default = TRUE).

Value

the output will be a vector of z-scores.

Examples

z_score(1:10)

kim documentation built on Oct. 9, 2023, 5:08 p.m.

Related to z_score in kim...