Checks if a data matrix is binary
Checks if a data matrix is binary
CheckBinaryMatrix(x)
x |
Matrix to check. |
Checks if all the entries of the matix are either 0 or 1.
TRUE
if the matrix is binary.
Jose Luis Vicente-Villardon
data(spiders) sp=Dataframe2BinaryMatrix(spiders) CheckBinaryMatrix(sp)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.