Compute the index of Fager and McGowan
fagerMcGowan(p, q)# S4 method for Partition,Partition
fagerMcGowan(p, q)
# S4 method for PairCoefficients,missing
fagerMcGowan(p, q = NULL)
The partition
The partition
fagerMcGowan(p = Partition, q = Partition)
: Compute given two partitions
fagerMcGowan(p = PairCoefficients, q = missing)
: Compute given the pair coefficients
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