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