powered by
Compute the index of Fager and McGowan $$\frac{N_{11}}{\sqrt{N_{21}N_{12}}} - \frac{1}{2\sqrt{N_{21}}}$$
fagerMcGowan(p, q)# S4 method for Partition,Partition fagerMcGowan(p, q)# S4 method for PairCoefficients,missing fagerMcGowan(p, q = NULL)
# S4 method for Partition,Partition fagerMcGowan(p, q)
# S4 method for PairCoefficients,missing fagerMcGowan(p, q = NULL)
The partition \(P\) or an instance of PairCoefficients
The partition \(Q\) or NULL
fagerMcGowan(p = Partition, q = Partition): Compute given two partitions
fagerMcGowan(p = Partition, q = Partition)
fagerMcGowan(p = PairCoefficients, q = missing): Compute given the pair coefficients
fagerMcGowan(p = PairCoefficients, q = missing)
Fabian Ball fabian.ball@kit.edu
Fager1963partitionComparison
isTRUE(all.equal(fagerMcGowan(new("Partition", c(0, 0, 0, 1, 1)), new("Partition", c(0, 0, 1, 1, 1))), 0.25))
Run the code above in your browser using DataLab