Return the number of pairs of observations matched by the hypothesis
Source:R/utility.R
correct_pairs.Rd
Return the number of pairs of observations matched by the hypothesis
Examples
dat <- data.frame(t1 = c(9, 4, 8, 10),
t2 = c(8, 8, 12, 10),
t3 = c(8, 5, 10, 11))
h <- hypothesis(1:3)
opamod <- opa(dat, h)
correct_pairs(opamod)
#> [1] 6