This function checks whether there are any missing values
in an R object. For list objects, we recurse over each
entry. This is typically faster than any(is.na(x))
as we exit and return TRUE
as soon as an NA
is discovered.
1 | any_na(x, how = "unlist")
|
x |
An R object. |
how |
The simplification to use if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.