zscore: Computes standardized scores.

zscoreR Documentation

Computes standardized scores.

Description

Subtracts the mean and then divides by the standard deviation.

Usage

zscore(x, na.rm = FALSE)

Arguments

x

a numeric vector or an R object but not a factor coercible to numeric by as.double(x).

na.rm

logical. Should missing values be removed?

Value

The standardized scores for the values.


toddagood/apatfa documentation built on Jan. 30, 2023, 11:51 p.m.