removeEmpty | R Documentation |
Remove Empty Elements from Vector
removeEmpty(x)
x |
vector |
x
with elements for which isNaOrEmpty
is
TRUE
removed
removeEmpty(c(1, NA, 3))
removeEmpty(c("a", "", "b", NA, "c", " ", "d"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.