Learn R Programming

relations (version 0.3-3)

dissimilarity: Dissimilarity Between Relations

Description

Compute the dissimilarity between (ensembles of) relations.

Usage

relation_dissimilarity(x, y = NULL, method = "symdiff", ...)

Arguments

x
an ensemble of relations, or something which can be coerced to such (see relation_ensemble).
y
NULL (default), or as for x.
method
a character string specifying one of the built-in methods for computing dissimilarity, or a function to be taken as a user-defined method. If a character string, its lower-cased version is matched against the lower-cased names of the availabl
...
further arguments to be passed to methods.

Value

  • If 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.

Details

Available built-in methods are as follows. Apart from the symmetric difference distance, these are applicable to endorelations only.

[object Object],[object Object],[object Object],[object Object],[object Object]

References

W. D. Cook, M. Kress and L. M. Seiford (1986), Information and preference in partial orders: a bimatrix representation. Psychometrika 51/2, 197--207.

W. D. Cook and L. M. Seiford (1978), Priority ranking and consensus formation. Management Science, 24/16, 1721--1732. J. G. Kemeny and J. L. Snell (1962), Mathematical Models in the Social Sciences, chapter Preference Rankings: An Axiomatic Approach. MIT Press: Cambridge.