proximity-classes

0th

Percentile

Classes dist, ar\_cross\_dissimilarity and ar\_similarity --- Proximity Matrices

Simple classes to represent proximity matrices. For compatibility with clustering functions in R, we represent dissimilarities as the S3 class dist. For cross-dissimilarities and similarities, we provide the S4 classes ar_cross_dissimilarities and ar_similarities.

Keywords
classes
Objects from the Class

dist objects are the result of calling the method dissimilarity with one argument or any R function returning a S3 dist object.

ar_cross_dissimilarity objects are the result of calling the method dissimilarity with two arguments, by calls of the form new("similarity", ...), or by coercion from matrix.

ar_similarity objects are the result of calling the method affinity, by calls of the form new("similarity", ...), or by coercion from matrix.

Slots

The S4 classes have a method slot which contains the type of measure used for calculation.

See Also

dist (in package stats), dissimilarity, affinity.

Aliases
  • ar_similarity-class
  • ar_cross_dissimilarity-class
  • dist-class
Documentation reproduced from package arules, version 1.5-4, License: GPL-3

Community examples

Looks like there are no examples yet.