powered by
Test if Vector is Binary
is_binary(x)
Logical indicating if x has exactly 2 unique values
Vector to test