powered by
Compute the normalized Lerman index $$L(P, Q) / \sqrt{L(P, P)L(Q, Q)}$$ where \(L\) is the Lerman index.
normalizedLermanIndex(p, q, c = NULL)# S4 method for Partition,Partition,missing normalizedLermanIndex(p, q, c = NULL)# S4 method for Partition,Partition,PairCoefficients normalizedLermanIndex(p, q, c = NULL)
# S4 method for Partition,Partition,missing normalizedLermanIndex(p, q, c = NULL)
# S4 method for Partition,Partition,PairCoefficients normalizedLermanIndex(p, q, c = NULL)
The partition \(P\)
The partition \(Q\)
PairCoefficients or NULL
p = Partition,q = Partition,c = missing: Compute given two partitions
p = Partition,q = Partition,c = missing
p = Partition,q = Partition,c = PairCoefficients: Compute given the partitions and pair coefficients
p = Partition,q = Partition,c = PairCoefficients
Fabian Ball fabian.ball@kit.edu
Lerman1988partitionComparison
Hubert1985partitionComparison
lermanIndex
isTRUE(all.equal(normalizedLermanIndex(new("Partition", c(0, 0, 0, 1, 1)), new("Partition", c(0, 0, 1, 1, 1))), 1/6))
Run the code above in your browser using DataLab