Learn R Programming

partitionComparison (version 0.2.5)

fagerMcGowan: Fager & McGowan Index

Description

Compute the index of Fager and McGowan $$\frac{N_{11}}{\sqrt{N_{21}N_{12}}} - \frac{1}{2\sqrt{N_{21}}}$$

Usage

fagerMcGowan(p, q)

# S4 method for Partition,Partition fagerMcGowan(p, q)

# S4 method for PairCoefficients,missing fagerMcGowan(p, q = NULL)

Arguments

p

The partition \(P\) or an instance of PairCoefficients

q

The partition \(Q\) or NULL

Methods (by class)

  • p = Partition,q = Partition: Compute given two partitions

  • p = PairCoefficients,q = missing: Compute given the pair coefficients

Author

Fabian Ball fabian.ball@kit.edu

References

Fager1963partitionComparison

Examples

Run this code
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