is.01 | R Documentation |
does this vector only contains 0 and 1
is.01(x)
x |
a vector |
a boolean
is.01(c(0,1,0,0,1)) is.01(c(0,1,0,0,5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.