binary: binary

Description Usage Arguments See Also Examples

View source: R/binary.R

Description

The function check whether the square matrix m is a binary relation.

Usage

1
binary(m)

Arguments

m

a square matrix.

See Also

transitivity, reflexivity,

antisymmetry, is.preorder,

is.partialorder, validate.partialorder.incidence

Examples

1
2
3
4
5
6
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)

parsec documentation built on May 2, 2019, 6:08 p.m.