Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rowNorms

Normalize the rows of a matrix.


Description

This function will normalize the rows of a matrix.

Usage

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


ExPosition

Exploratory Analysis with the Singular Value Decomposition

v2.8.23
GPL-2
Authors
Derek Beaton, Cherise R. Chin Fatt, Herve Abdi
Initial release
2018-12-27

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.