rvCoefficient | R Documentation |
Compute the RV coefficient
\frac{n + 2N_{11}(p)}{\sqrt{(2N_{21}(p) + n) (2N_{12}(p) + n)}}
rvCoefficient(p, q)
## S4 method for signature 'Partition,Partition'
rvCoefficient(p, q)
## S4 method for signature 'PairCoefficients,missing'
rvCoefficient(p, q = NULL)
p |
The partition |
q |
The partition |
rvCoefficient(p = Partition, q = Partition)
: Compute the RV coefficient given two partitions
rvCoefficient(p = PairCoefficients, q = missing)
: Compute the RV coefficient given the pair coefficients
Fabian Ball fabian.ball@kit.edu
Robert1976partitionComparison
\insertRefYouness2004partitionComparison
isTRUE(all.equal(rvCoefficient(new("Partition", c(0, 0, 0, 1, 1)),
new("Partition", c(0, 0, 1, 1, 1))), 9/13))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.