View source: R/CheckBinaryMatrix.R
CheckBinaryVector | R Documentation |
Checks if all the entries of a vector are 0 or 1
CheckBinaryVector(x)
x |
he vector to check |
The logical result
Jose luis Vicente Villardon
x=c(0, 0, 0, 0, 1, 1, 1, 2)
CheckBinaryVector(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.