powered by
Extract the expected number of tests from objects of class "Sterrett" returned by Sterrett (Sterrett).
Sterrett
# S3 method for Sterrett ExpTests(object, ...)
A data frame containing the columns:
the expected number of tests required to decode all individuals in the algorithm.
the expected number of tests per individual.
The percent reduction in the number of tests; 100 * (1 - ExpTestsPerIndividual).
The percent increase in testing capacity when the algorithm is applied to a continuous stream of specimens; 100 * (1/ExpTestsPerIndividual - 1).
An object of class "Sterrett", from which the expected number of tests is to be extracted.
Additional arguments to be passed to ExpTests (e.g., digits to be passed to round for appropriate rounding).
ExpTests
digits
round
Christopher R. Bilder
bilder2020testsbinGroup2
set.seed(1231) p.vec1 <- rbeta(n = 8, shape1 = 1, shape2 = 10) save.it1 <- Sterrett(p = p.vec1, Sp = 0.90, Se = 0.95) ExpTests(save.it1)
Run the code above in your browser using DataLab