Skip to content
Prev 12417 / 398502 Next

colSums

I don't think there are functions for doing this, but you can speed 
up things a lot by using matrix operations instead of apply if
this is possible:
[1] 0.04 0.01 0.05 0.00 0.00
[1] 0.01 0.00 0.01 0.00 0.00
[1] TRUE

Yours,
Marcel Wolbers