Description Usage Arguments Examples
In the case of a list, an item is 'NA' if it has at least one element, and of these elements are NA
1 2 3 4 5 6 7 |
x |
An integer vector. |
name |
The name for |
1 2 3 4 | x <- c(0L, 1L, NA)
chk_at_most_one_na_vector(x, name = "x")
x <- c(c(0L, 1L), c(2L, NA))
chk_at_most_one_na_list(x, name = "x")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.