CheckBinaryMatrix {MultBiplotR} | R Documentation |
Checks if a data matrix is binary
Description
Checks if a data matrix is binary
Usage
CheckBinaryMatrix(x)
Arguments
x |
Matrix to check. |
Details
Checks if all the entries of the matix are either 0 or 1.
Value
TRUE
if the matrix is binary.
Author(s)
Jose Luis Vicente-Villardon
Examples
data(spiders)
sp=Dataframe2BinaryMatrix(spiders)
CheckBinaryMatrix(sp)
[Package MultBiplotR version 23.11.0 Index]