relation_dissimilarity(x, y = NULL, method = "symdiff", ...)
relation_ensemble
).NULL
(default), or as for x
.y
is NULL
, an object of class dist
containing the dissimilarities between all pairs of elements of
x
. Otherwise, a matrix with the dissimilarities between the
elements of x
and the elements of y
."symdiff"
is the only built-in method available.
This computes the cardinality of the symmetric difference of two
relations, i.e., the number of tuples contained in exactly one of two
relations. For complete endorelations, this coincides with the
Kemeny-Snell metric.