is.12 {thinkr} | R Documentation |
does this vector only contains 1 and 2
Description
does this vector only contains 1 and 2
Usage
is.12(x)
Arguments
x |
a vector |
Value
a boolean
Examples
is.12(c(1,1,2,1,2))
is.12(c(1,1,2,1,5))
[Package thinkr version 0.16 Index]