powered by
Compute the RV coefficient $$\frac{n + 2N_{11}(p)}{\sqrt{(2N_{21}(p) + n) (2N_{12}(p) + n)}}$$
rvCoefficient(p, q)# S4 method for Partition,Partition rvCoefficient(p, q)# S4 method for PairCoefficients,missing rvCoefficient(p, q = NULL)
# S4 method for Partition,Partition rvCoefficient(p, q)
# S4 method for PairCoefficients,missing rvCoefficient(p, q = NULL)
The partition \(P\) or an instance of PairCoefficients
The partition \(Q\) or NULL
rvCoefficient(p = Partition, q = Partition): Compute the RV coefficient given two partitions
rvCoefficient(p = Partition, q = Partition)
rvCoefficient(p = PairCoefficients, q = missing): Compute the RV coefficient given the pair coefficients
rvCoefficient(p = PairCoefficients, q = missing)
Fabian Ball fabian.ball@kit.edu
Robert1976partitionComparison
Youness2004partitionComparison
isTRUE(all.equal(rvCoefficient(new("Partition", c(0, 0, 0, 1, 1)), new("Partition", c(0, 0, 1, 1, 1))), 9/13))
Run the code above in your browser using DataLab