Examines a vector that is not coded as a logical to see if it contains only 0s and 1s.
a logical value,
TRUE if the vector contains only 0s and 1s and
Luke Keele, Penn State University, firstname.lastname@example.org
Sam Pimentel, University of Pennsylvania, email@example.com