normalise_mean: Mean normalisation

View source: R/normalise.R

normalise_meanR Documentation

Mean normalisation

Description

normalise_mean standardises (i.e., normalises) a vector to mean = 0 & SD = 1.

Usage

normalise_mean(x, remove_na = TRUE)

Arguments

x

Vector to standardise.

remove_na

Boolean indicating whether NA values should be removed. Defaults to TRUE.

Examples

normalise_mean(c(1:10))

britishredcrosssociety/compositr documentation built on Nov. 4, 2024, 5:21 p.m.