View source: R/OTCMethodFunctions.R
ExpTests.OTC | R Documentation |
Extract the expected number of tests and expected number of
tests per individual from objects of class "OTC" returned by
OTC1
or OTC2
.
## S3 method for class 'OTC'
ExpTests(object, ...)
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 |
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
.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.