antisymmetry | R Documentation |
The function checks whether boolean square matrix m
represents an antisymmetric binary relation.
antisymmetry(m)
m |
a square matrix. |
transitivity
, binary
, reflexivity
,
is.preorder
, is.partialorder
,
validate.partialorder.incidence
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]
antisymmetry(M)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.