Skip to contents

Return the number of pairs of observations not matched by the hypothesis

Usage

incorrect_pairs(m)

Arguments

m

an object of class "opafit"

Value

a non-negative integer

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)
incorrect_pairs(opamod)
#> [1] 6