Learn R Programming

binGroup2 (version 1.3.1)

ExpTests.Sterrett: Extract the expected number of tests from testing configuration results

Description

Extract the expected number of tests from objects of class "Sterrett" returned by Sterrett (Sterrett).

Usage

# S3 method for Sterrett
ExpTests(object, ...)

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).

Arguments

object

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).

Author

Christopher R. Bilder

References

bilder2020testsbinGroup2

Examples

Run this code
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