baulieu2 {partitionComparison} | R Documentation |
Baulieu Index 2
Description
Compute the index 2 of Baulieu
\frac{ N_{11}N_{00} - N_{10}N_{01} }{ N^2 }
Usage
baulieu2(p, q)
## S4 method for signature 'Partition,Partition'
baulieu2(p, q)
## S4 method for signature 'PairCoefficients,missing'
baulieu2(p, q = NULL)
Arguments
p |
The partition |
q |
The partition |
Methods (by class)
-
baulieu2(p = Partition, q = Partition)
: Compute given two partitions -
baulieu2(p = PairCoefficients, q = missing)
: Compute given the pair coefficients
Author(s)
Fabian Ball fabian.ball@kit.edu
References
Baulieu FB (1989). “A Classification of Presence/Absence Based Dissimilarity Coefficients.” Journal of Classification, 6(1), 233–246. ISSN 0176-4268, 1432-1343, doi:10.1007/BF01908601.
Examples
isTRUE(all.equal(baulieu2(new("Partition", c(0, 0, 0, 1, 1)),
new("Partition", c(0, 0, 1, 1, 1))), 0.04))
[Package partitionComparison version 0.2.6 Index]