is.na | R Documentation |
Check whether values are missing in lazy vectors and lazy matrices.
## S4 method for signature 'lazyVector' is.na(x) ## S4 method for signature 'lazyMatrix' is.na(x) ## S4 method for signature 'lazyVector' anyNA(x, recursive = FALSE) ## S4 method for signature 'lazyMatrix' anyNA(x, recursive = FALSE)
x |
a lazy vector or a lazy matrix |
recursive |
ignored |
The is.na
function returns a logical vector or a
logical matrix, and the anyNA
function returns a logical value.
The is.na
function does not detect lazy NaN numbers; see
the note in isNaN_or_Inf
.
is.na(NA_lazy_) is.na(lazyvec(c(1, 2, NA, NaN, Inf))) anyNA(lazyvec(c(1, 2, NA)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.