ExpTests.halving {binGroup2} | R Documentation |
Extract the expected number of tests from testing configuration results
Description
Extract the expected number of tests from objects of class "halving" returned by
halving
(halving).
Usage
## S3 method for class 'halving'
ExpTests(object, ...)
Arguments
object |
An object of class "halving", from which the expected number of tests is to be extracted. |
... |
Additional arguments to be passed to |
Value
A data frame containing the columns:
ExpTests |
the expected number of tests required to decode all individuals in the algorithm. |
ExpTestsPerIndividual |
the expected number of tests per individual. |
PercentReductionTests |
The percent reduction in the number of tests; 100 * (1 - ExpTestsPerIndividual). |
PercentIncreaseTestCap |
The percent increase in testing capacity when the algorithm is applied to a continuous stream of specimens; 100 * (1/ExpTestsPerIndividual - 1). |
Author(s)
Christopher R. Bilder
References
Bilder, C., Iwen, P., Abdalhamid, B., Tebbs, J., McMahan, C. (2020). “Tests in short supply? Try group testing.” Significance, 17, 15.
Examples
save.it1 <- halving(p = rep(0.01, 10), Sp = 1, Se = 1, stages = 2,
order.p = TRUE)
ExpTests(save.it1)