normalize: Normalize rows or columns by its standard deviation.

View source: R/calc.r

normalizeR Documentation

Normalize rows or columns by its standard deviation.

Description

Normalize rows or columns by its standard deviation.

Usage

normalize(x, normalize = 0, ...)

Arguments

x

matrix

normalize

A numeric value indicating along what direction (rows, columns) to normalize by standard deviations. ⁠0 = none, 1= rows, 2 = columns⁠ (default is 0).

...

Not evaluated.

Value

Not yet defined TODO!

Examples

x <- matrix(sample(1:5, 20, rep = TRUE), 4)
normalize(x, 1) # normalizing rows
normalize(x, 2) # normalizing columns


markheckmann/OpenRepGrid documentation built on April 14, 2024, 8:15 a.m.