binary {parsec} | R Documentation |
binary
Description
The function checks whether square matrix m
represents a binary relation.
Usage
binary(m)
Arguments
m |
a square matrix. |
See Also
is.partialorder
, validate.partialorder.incidence
Examples
M <- c(TRUE, FALSE, FALSE, FALSE, TRUE, TRUE, FALSE, FALSE, TRUE, FALSE, TRUE,
FALSE, TRUE, TRUE, TRUE, TRUE)
M <- matrix(M, 4, 4)
rownames(M) <- colnames(M) <- LETTERS[1:4]
binary(M)
[Package parsec version 1.2.7 Index]