Last data update: 2014.03.03
|
R: rescale rows
rescaleRows | R Documentation |
rescale rows
Description
returns a row-rescaled matrix (rowSums(.)==1 ).
Usage
rescaleRows(A, columns=1:ncol(A))
Arguments
A |
matrix or dataframe to be row-rescaled:
rowSums(rescaleRows(A))==1 .
|
columns |
vector containing indices of the columns that should
be included in the normalisation.
|
Value
A |
row-rescaled matrix or partially row-rescaled matrix.
|
Author(s)
Karel Van den Meersche
Results
|