Learn R Programming

MicroMoB (version 0.1.2)

is_binary: Does a numeric object consist of only zeros and ones?

Description

Does a numeric object consist of only zeros and ones?

Usage

is_binary(x)

Value

a logical value

Arguments

x

a numeric object