one_zero function

1/0 Checker

1/0 Checker

one_zero(vec)

Arguments

  • vec: vector of hopefully 1s and 0s but anything

Returns

TRUE or FALSE depending on if something other than 0/1 is in the vector

Details