is_binary: Check if an array has binary entries

Description Usage Arguments

View source: R/matrices.R

Description

Check if an array has binary entries

Usage

1
is_binary(x, allowed_values = c(0, 1), na.rm = FALSE)

Arguments

x

array or dataframe

allowed_values

allowed values for the entries

na.rm

remove NAs?


unoe/noe documentation built on Nov. 5, 2019, 11:05 a.m.