search for: tp3062739p3062739

Displaying 1 result from an estimated 1 matches for "tp3062739p3062739".

2010 Nov 28
4
how to divide each column in a matrix by its colSums?
...row/col sum by rowSums(m) colSums(m) How do I divide each row/column by its rowSum/colSums and still return in the matrix form? (i.e. the new rowSums/colSums =1) Thanks. Casper -- View this message in context: http://r.789695.n4.nabble.com/how-to-divide-each-column-in-a-matrix-by-its-colSums-tp3062739p3062739.html Sent from the R help mailing list archive at Nabble.com.