incidence {relations} | R Documentation |
Determine the incidences of a relation.
relation_incidence(x)
x |
an object inheriting from class relation . |
For a k-ary relation, a k-dimensional 0/1 array inherting
from class relation_incidence
whose elements indicate whether
the corresponding k-tuples are contained in the relation or not.
relation
;
relation_incidence<-
for modifying the incidences.
R <- as.relation(c(A = 1, B = 2, C = 3)) relation_incidence(R)