Learn R Programming

binGroup2 (version 1.3.1)

Config.OTC: Extract the testing configuration from group testing results

Description

Extract the testing configuration from objects of class "OTC" returned by OTC1 (OTC1) or OTC2 (OTC2).

Usage

# S3 method for OTC
Config(object, n = 5, top.overall = FALSE, ...)

Value

A data frame providing the best testing configurations.

Arguments

object

An object of class "OTC", from which the testing configuration is to be extracted.

n

Number of testing configurations.

top.overall

logical; if TRUE, best overall testing configurations; if FALSE, best testing configurations by initial group size

...

currently not used.

Author

Christopher R. Bilder

Examples

Run this code
res1 <- OTC1(algorithm = "D3", p = 0.05, Se = 0.99, Sp = 0.99,
             group.sz = 3:15, obj.fn = "ET")
Config(res1)

Run the code above in your browser using DataLab