normalizeMatrix {SoftClustering} | R 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.
[Package SoftClustering version 2.1.3 Index]