Description Usage Examples
View source: R/processing.R
We don't want the sums of NAs to be 0.
1
sum_na(x)
1 2 3 4
sum_na(c(NA, NA, NA)) sum_na(c(0, 1, NA)) sum(c(NA, NA, NA), na.rm = T) sum(c(0, 1, NA), na.rm = T)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.