normalizedLermanIndex {partitionComparison} | R Documentation |
Normalized Lerman Index
Description
Compute the normalized Lerman index
L(P, Q) / \sqrt{L(P, P)L(Q, Q)}
where L
is the Lerman index.
Usage
normalizedLermanIndex(p, q, c = NULL)
## S4 method for signature 'Partition,Partition,missing'
normalizedLermanIndex(p, q, c = NULL)
## S4 method for signature 'Partition,Partition,PairCoefficients'
normalizedLermanIndex(p, q, c = NULL)
Arguments
p |
The partition |
q |
The partition |
c |
PairCoefficients or NULL |
Methods (by class)
-
normalizedLermanIndex(p = Partition, q = Partition, c = missing)
: Compute given two partitions -
normalizedLermanIndex(p = Partition, q = Partition, c = PairCoefficients)
: Compute given the partitions and pair coefficients
Author(s)
Fabian Ball fabian.ball@kit.edu
References
Lerman IC (1988). “Comparing Partitions (Mathematical and Statistical Aspects).” In Bock H (ed.), Classification and Related Methods of Data Analysis, 121–132.
Hubert L, Arabie P (1985). “Comparing Partitions.” Journal of Classification, 2(1), 193–218.
See Also
Examples
isTRUE(all.equal(normalizedLermanIndex(new("Partition", c(0, 0, 0, 1, 1)),
new("Partition", c(0, 0, 1, 1, 1))), 1/6))
[Package partitionComparison version 0.2.6 Index]