rowNorms: Normalize the rows of a matrix.

Description Usage Arguments Details Value Author(s)

Description

This function will normalize the rows of a matrix.

Usage

1
rowNorms(X, type = NULL, center = FALSE, scale = FALSE)

Arguments

X

Data matrix

type

a string. Type of normalization to perform. Options are hellinger, ca, z, other

center

optional. A vector to center the columns of X.

scale

optional. A vector to scale the values of X.

Details

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.

Value

Returns a row normalized version of X.

Author(s)

Derek Beaton



Search within the ExPosition package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.