powered by
Extract the expected number of tests and expected number of tests per individual from objects of class "OTC" returned by OTC1 or OTC2.
OTC1
OTC2
# S3 method for OTC ExpTests(object, ...)
A data frame containing the columns:
the expected number of tests required by the optimal testing configuration.
the expected number of tests per individual for the optimal testing configuration.
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).
Each row of the data frame represents an objective function specified in the call to OTC1 or OTC2.
An object of class "OTC", from which the expected number of tests and expected number of tests per individual are to be extracted.
Additional arguments to be passed to ExpTests (e.g., digits to be passed to round for appropriate rounding).
ExpTests
digits
round
Brianna D. Hitt and Christopher R. Bilder
bilder2020testsbinGroup2
res1 <- OTC1(algorithm = "D2", p = 0.05, Se = 0.99, Sp = 0.99, group.sz = 2:100, obj.fn = c("ET", "MAR"), trace = TRUE) ExpTests.OTC(res1)
Run the code above in your browser using DataLab