wallaceII {partitionComparison} | R Documentation |
Wallace II
Description
Compute Wallace' index II
\frac{N_{11}}{N_{12}}
Usage
wallaceII(p, q)
## S4 method for signature 'Partition,Partition'
wallaceII(p, q)
## S4 method for signature 'PairCoefficients,missing'
wallaceII(p, q = NULL)
Arguments
p |
The partition |
q |
The partition |
Methods (by class)
-
wallaceII(p = Partition, q = Partition)
: Compute given two partitions -
wallaceII(p = PairCoefficients, q = missing)
: Compute given the pair coefficients
Author(s)
Fabian Ball fabian.ball@kit.edu
References
Wallace DL (1983). “A Method for Comparing Two Hierarchical Clusterings: Comment.” Journal of the American Statistical Association, 78(383), 569–576.
See Also
Examples
isTRUE(all.equal(wallaceII(new("Partition", c(0, 0, 0, 1, 1)),
new("Partition", c(0, 0, 1, 1, 1))), 0.5))
[Package partitionComparison version 0.2.6 Index]