Description Usage Arguments Examples
Check that a vector consists entirely of of 1s and 0s
1 2 3 | chk_all_0_1(x, name)
err_all_0_1(x, name)
|
x |
An integer vector. |
name |
The name for |
1 2 | x <- c(0L, 1L, 0L, 0L, 1L)
chk_all_0_1(x, name = "x")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.