Form row and column sums and means for multiple vectors, numeric arrays (or data frames) conditional on the number of non-missing observations.
a series of numeric vectors, arrays, or data frames that have can be combined with cbind
an integer stating the minimum number of non-NA observations necessary to compute the row mean. Defaults to 1.
A numeric vector containing the row sums or NA if not enough non-NA observations are present
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.