isBinary | R Documentation |
This function checks to see if a vector is dichotomous. This includes logical vectors and numeric vectors that contain only 0s and 1s.
isBinary(x)
x |
vector to check. |
TRUE if the vector is binary.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.