is.empty | R Documentation |
Is a variable empty
is.empty(x, empty = "\\s*")
x |
Character value to evaluate |
empty |
Indicate what 'empty' means. Default is empty string (i.e., "") |
Is a variable empty
TRUE if empty, else FALSE
is.empty("")
is.empty(NULL)
is.empty(NA)
is.empty(c())
is.empty("none", empty = "none")
is.empty("")
is.empty(" ")
is.empty(" something ")
is.empty(c("", "something"))
is.empty(c(NA, 1:100))
is.empty(mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.