powered by
Check if a predictor is dichotomous
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