Description Usage Arguments Value Examples
Systematically testing for variable "emptiness" in R is a bit of a pain.
This is a shortcut function that tests if a variable x
is NULL
or NA
.
If x
is a vector, is_void
does not test the elements of the vector,
but returns FALSE
because a vector is an object that is neither NULL
nor NA
.
1 |
x |
a variable |
boolean
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.