Description Usage Arguments See Also Examples
Check that a scalar is NA, or a vector is all NA
1 2 3 4 5 6 7 | chk_is_na_scalar(x, name)
chk_is_na_vector(x, name)
err_is_na_scalar(x, name)
err_is_na_vector(x, name)
|
x |
A scalar or a vector. |
name |
The name for |
1 2 3 4 | x <- NA
chk_is_na_scalar(x, name = "x")
x <- c(NA_integer_, NA_integer_)
chk_is_na_vector(x, name = "x")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.