pmf.Sterrett {binGroup2}R Documentation

Extract probability mass function (PMF) from group testing results

Description

Extract the probability mass function from group testing results for the Sterrett algorithm (objects of class "Sterrett" returned by Sterrett).

Usage

## S3 method for class 'Sterrett'
pmf(object, ...)

Arguments

object

An object of class "Sterrett", created by Sterrett, from which the PMF is to be extracted.

...

currently not used.

Value

Data frame containing the probability mass function extracted from the object object.

Author(s)

Brianna D. Hitt

Examples

set.seed(1231)
p.vec <- rbeta(n = 8, shape1 = 1, shape2 = 10)
res <- Sterrett(p = p.vec, Sp = 0.90, Se = 0.95)
pmf(res)

[Package binGroup2 version 1.3.1 Index]