dongensMetric {partitionComparison} | R Documentation |
Dongen's Metric
Description
Compute Dongen's metric
2n - \sum_{C \in P} \max_{D \in Q} |C \cap D| - \sum_{D \in Q} \max_{C \in P} |C \cap D|
Usage
dongensMetric(p, q)
## S4 method for signature 'Partition,Partition'
dongensMetric(p, q)
Arguments
p |
The partition |
q |
The partition |
Methods (by class)
-
dongensMetric(p = Partition, q = Partition)
: Compute given two partitions
Author(s)
Fabian Ball fabian.ball@kit.edu
References
van Dongen S (2000). “Performance Criteria For Graph Clustering And Markov Cluster Experiments.” Technical Report INS-R 0012, CWI.
See Also
Examples
isTRUE(all.equal(dongensMetric(new("Partition", c(0, 0, 0, 1, 1)),
new("Partition", c(0, 0, 1, 1, 1))), 2))
[Package partitionComparison version 0.2.6 Index]