R/AddGenericFunctions.R
pmf.Rd
pmf
is a generic function that extracts the probability
mass function from an object (if available) that contains information
aboout a testing configuration.
pmf(object, ...)
res <- halving(p = rep(0.01, 10), Sp = 1, Se = 1,
stages = 2, order.p = TRUE)
pmf.halving(res)
#> num.tests prob.tests
#> 1 1 0.9044
#> 2 11 0.0956