View source: R/utils_checkValue.R
all_binary | R Documentation |
Check if a data vector or matrix is all zeroes and ones. Option to also accept logical values.
all_binary(x, logical_ok = TRUE)
x |
The data vector or matrix |
logical_ok |
Is a logical vector or matrix also acceptable? Default:
|
Logical. Is x
binary data?
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.