R/aux_functions.R
sumR.Rd
Return the sum across rows (n=1) or columns (n=2) of a matrix
sumR(A, n)
input matrix
if n=1 sum rows, if n=2 sum columns
sum of rows or columns