Calculates factor-stratified sums for each column
Calculates factor-stratified sums for each column
colSumByFactor(sY, rowSel)
sY |
sparse matrix (dgCmatrix) |
rowSel |
integer factor. Note that the 0-th column will return sums for any NA values; 0 or negative values will be omitted |
Matrix
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.