Compute column sums of a sparse matrix

columnSums(A)

Arguments

A

an object of class dgCMatrix

Examples