Description Usage Arguments Examples
rowSums with na.rm = TRUE except for when all cols = NAs equivalent to sum functionality in SAS (I think)
1 | rowSums_na(x, dims = 1)
|
x |
an array of two or more dimensions, containing numeric, complex, integer or logical values, or a numeric data frame. For .colSums() etc, a numeric, integer or logical matrix (or vector of length m * n). |
dims |
integer: Which dimensions are regarded as 'rows' or 'columns' to sum over. For row, the sum or mean is over dimensions dims+1, ...; for col it is over dimensions 1:dims. |
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.