Description Usage Arguments Value Examples
Function to determine sum automatically handling NAs. Calculates sum disregarding NAs, except when all values are NA.
1 | sum_na(x)
|
x |
numeric or complex or logical vectors; see R documentation for sum. |
The sum of x
.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.