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