antisymmetry: antisymmetry

View source: R/antisymmetry.R

antisymmetryR Documentation

antisymmetry

Description

The function checks whether boolean square matrix m represents an antisymmetric binary relation.

Usage

antisymmetry(m)

Arguments

m

a square matrix.

See Also

transitivity, binary, reflexivity,

is.preorder, 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]

antisymmetry(M)

parsec documentation built on Aug. 19, 2023, 5:07 p.m.