rowNorms | R Documentation |
This function will normalize the rows of a matrix.
rowNorms(X, type = NULL, center = FALSE, scale = FALSE)
X |
Data matrix |
type |
a string. Type of normalization to perform. Options are
|
center |
optional. A vector to center the columns of X. |
scale |
optional. A vector to scale the values of X. |
rowNorms works like link{expo.scale}
, but for rows. Hellinger row
norm via hellinger
, Correspondence analysis analysis row norm (row
profiles) via ca
, Z-score row norm via z
. other
passes
center
and scale
to expo.scale
and allows for
optional centering and scaling parameters.
Returns a row normalized version of X.
Derek Beaton
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.