is.partialorder {parsec} | R Documentation |
is.partialorder
Description
The function checks whether the input boolean square matrix m
represents a partial order.
Usage
is.partialorder(m)
Arguments
m |
a boolean square matrix.. |
See Also
transitivity
, binary
, reflexivity
,
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]
is.partialorder(M)
[Package parsec version 1.2.7 Index]