naz.omit | R Documentation |
Given a vector, exclude any missing values, not a number values, non finite values, and if a character class, any zero length strings.
naz.omit(x)
x |
A vector to exclude missing, non finite or zero length strings from |
a vector with missing/non finite/zero length strings omitted
## stats na.omit
stats::na.omit(c(1, NA, NaN))
stats::na.omit(c("test", "", NA_character_))
naz.omit(c(1, NA, NaN))
naz.omit(c(1L, NA))
naz.omit(c(1L, NA, Inf))
naz.omit(c("test", "", NA_character_))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.