ExpTests.OTC {binGroup2} | R Documentation |
Extract the expected number of tests from optimal testing configuration results
Description
Extract the expected number of tests and expected number of
tests per individual from objects of class "OTC" returned by
OTC1
or OTC2
.
Usage
## S3 method for class 'OTC'
ExpTests(object, ...)
Arguments
object |
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 |
Value
A data frame containing the columns:
ExpTests |
the expected number of tests required by the optimal testing configuration. |
ExpTestsPerInd |
the expected number of tests per individual for the optimal testing configuration. |
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). |
Each row of the data frame represents an objective function specified in
the call to OTC1
or OTC2
.
Author(s)
Brianna D. Hitt and 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
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)