View source: R/aux_functions.R
sumR | R Documentation |
Return the sum across rows (n=1) or columns (n=2) of a matrix
sumR(A, n)
A |
input matrix |
n |
if n=1 sum rows, if n=2 sum columns |
sum of rows or columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.