mean_na_rm | R Documentation |
Arithmetic Mean Without Missing Values
mean_na_rm(x)
x |
An R object. |
The arithmetic mean of x after removing missing values.
mean_na_rm(c(1:2, NA))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.