Description Usage Arguments Details Value
Take a vector or a matrix, then check if all elements are equal to "0 or "1".
1 | is_binary(mat)
|
mat |
a binary/numeric matrix. |
None.
Return TRUE
is the matrix is a binary matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.