rescaleRows {BCE} | R Documentation |
returns a row-rescaled matrix (rowSums(.)==1
).
rescaleRows(A, columns=1:ncol(A))
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. |
A |
row-rescaled matrix or partially row-rescaled matrix. |
Karel Van den Meersche