is.dichotomous {cbq}R Documentation

Check if a predictor is dichotomous, adopted from package circGLM

Description

Check if a predictor is dichotomous, adopted from package circGLM

Usage

is.dichotomous(x)

Arguments

x

A character or numerical vector to be tested.

Value

A logical, TRUE if the x has dummy coding (0, 1), FALSE otherwise.


[Package cbq version 0.2.0.3 Index]