| is_missing | R Documentation |
Element-wise check for missing values including NA and NaN. Optionally treats empty strings as missing.
is_missing(x)
x |
Value to check |
Logical vector. NULL input returns logical(0).
is_missing(NA) # TRUE
is_missing(NaN) # TRUE
is_missing("") # TRUE
is_missing("text") # FALSE
is_missing(c(1, NA, NaN)) # FALSE TRUE TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.