isBinary: Check if a vector is dichotomous.

Description Usage Arguments Value

View source: R/isBinary.R

Description

This function checks to see if a vector is dichotomous. This includes logical vectors and numeric vectors that contain only 0s and 1s.

Usage

1

Arguments

x

vector to check.

Value

TRUE if the vector is binary.


jbryer/visualMLE documentation built on Nov. 22, 2021, 12:18 a.m.