is.dichotomous {cbq} | R Documentation |
circGLM
Check if a predictor is dichotomous, adopted from package circGLM
is.dichotomous(x)
x |
A character or numerical vector to be tested. |
A logical, TRUE
if the x
has dummy coding (0, 1),
FALSE
otherwise.