is_binary: Test if Vector is Binary

View source: R/HelperFunctions.R

is_binaryR Documentation

Test if Vector is Binary

Description

Test if Vector is Binary

Usage

is_binary(x)

Arguments

x

Vector to test

Value

Logical indicating if x has at most 2 unique values


lgspline documentation built on May 8, 2026, 5:07 p.m.