| .sum_or_na.aidR | R Documentation |
Unlike sum(x, na.rm = TRUE), a vector without a single non-missing
value yields NA rather than zero.
.sum_or_na.aidR(x)
x |
A numeric vector. |
The sum over all non-missing values of x, or NA if
x holds no non-missing value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.