allNA | R Documentation |
A vector is empty if all(is.na(x))
with a
special case for length(x) == 0
.
allNA(
x,
expected = FALSE,
len0 = FALSE,
nThread = getOption("hutilscpp.nThread", 1L)
)
x |
A vector. Only atomic vectors are supported. |
expected |
|
len0 |
The result if |
nThread |
Number of threads to use (only applicable if |
allNA(c(NA, NA))
allNA(c(NA, NA, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.