Learn R Programming

qmix (version 0.1.2.0)

is.dichotomous: 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.