Learn R Programming

SoftClustering (version 1.1502)

normalizeMatrix: Matrix Normalization

Description

normalizeMatrix delivers a normalized matrix.

Usage

normalizeMatrix( dataMatrix, normMethod, byrow)

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).

byrow

TRUE = rows are normalized, FALSE = columns are normalized. Default: byrow = TRUE (rows are normalized).

Value

Normalized matrix.