reflexfuns {relations} | R Documentation |
Computes reflexive closure and reduction of an endorelation.
reflexive_reduction(x) reflexive_closure(x)
x |
an R object inheriting from class relation ,
representing an endorelation. |
Let R be an endorelation on X.
The reflexive closure (reflexive reduction) of R is computed by setting the diagonal of the incidence matrix to 0 (1).
relation
, transitive_reduction
.
R <- as.relation(1 : 5) relation_incidence(R) RR <- reflexive_reduction(R) relation_incidence(RR) R == reflexive_closure(RR)