pmf.halving {binGroup2}R Documentation

Extract probability mass function (PMF) from group testing results

Description

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

Usage

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

Arguments

object

An object of class "halving", created by halving, 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

res <- halving(p = rep(0.01, 10), Sp = 1, Se = 1,
               stages = 2, order.p = TRUE)
pmf(res)

[Package binGroup2 version 1.3.1 Index]