normalizeMatrix: Matrix Normalization

normalizeMatrixR Documentation

Matrix Normalization

Description

normalizeMatrix delivers a normalized matrix.

Usage

normalizeMatrix(dataMatrix, normMethod, bycol)

Arguments

dataMatrix

Matrix with the objects to be normalized.

normMethod

1 = unity interval, 2 = normal distribution (sample variance), 3 = normal distribution (population variance). Any other value returns the matrix unchanged. Default: meansMatrix = 1 (unity interval).

bycol

TRUE = columns are normalized, i.e., each column is considered separately (e.g., in case of the unity interval and a column colA: max(colA)=1 and min(colA)=0). For bycol = FALSE rows are normalized. Default: bycol = TRUE (columns are normalized).

Value

Normalized matrix.

Author(s)

M. Goetz, G. Peters, Y. Richter, D. Sacker, T. Wochinger.


SoftClustering documentation built on Aug. 18, 2023, 9:08 a.m.