russelRao {partitionComparison} | R Documentation |
Russel & Rao Index
Description
Compute the index of Russel and Rao
\frac{N_{11}}{N}
Usage
russelRao(p, q)
## S4 method for signature 'Partition,Partition'
russelRao(p, q)
## S4 method for signature 'PairCoefficients,missing'
russelRao(p, q = NULL)
Arguments
p |
The partition |
q |
The partition |
Methods (by class)
-
russelRao(p = Partition, q = Partition)
: Compute given two partitions -
russelRao(p = PairCoefficients, q = missing)
: Compute given the pair coefficients
Author(s)
Fabian Ball fabian.ball@kit.edu
References
Russel PF, Rao TR (1940). “On Habitat and Association of Species of Anopheline Larvae in South-Eastern Madras.” Journal of the Malaria Institute of India, 3(1), 153–178.
Examples
isTRUE(all.equal(russelRao(new("Partition", c(0, 0, 0, 1, 1)),
new("Partition", c(0, 0, 1, 1, 1))), 0.2))
[Package partitionComparison version 0.2.6 Index]