lengthNOTna | R Documentation |
Length without NAs
lengthNOTna(x)
x |
a vector |
The length of the vector when NAs are excluded
x <- c(5,12,NA,4)
lengthNOTna(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.