is.dichotomous: Check if a predictor is dichotomous, adopted from package...

View source: R/cbq.R

is.dichotomousR 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.


cbq documentation built on April 4, 2025, 3:15 a.m.