| cat_check | R Documentation | 
cat_check checks whether a vector contains only 0 and 1 and thus is a
dummy variable.
cat_check(x)
x | 
 vector containing values of a variable.  | 
TRUE, if the vector only contains 0 and 1, FALSE is the vector contains other values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.