View source: R/transitiveClosure.R
transitiveClosure | R Documentation |
The function computes the transitive closure of a reflexive and antisymmetric binary relation.
transitiveClosure(m)
m |
a generic square boolean matrix representing a reflexive and antisymmetric binary relation,
an object of class |
Incidence matrix of the transitive closure of the input matrix m
.
is.partialorder
m <- c(1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1)
m <- matrix(m, 4, 4)
transitiveClosure(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.