Learn R Programming

binGroup2

The goal of binGroup2 is to provide methods for the group testing identification and estimation problems. Methods for the group testing identification problem: 1) Operating characteristics (e.g., expected number of tests) for commonly used hierarchical and array-based algorithms, and 2) Optimal testing configurations for these same algorithms. Methods for the group testing estimation problem: 1) Estimation and inference procedures for an overall prevalence, and 2) Regression modeling for commonly used hierarchical and array-based algorithms.

Installation

You can install the development version of binGroup2 from GitHub with:

# install.packages("pak")
pak::pak("bdhitt/binGroup2")

Copy Link

Version

Install

install.packages('binGroup2')

Monthly Downloads

41

Version

1.3.4

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Brianna Hitt

Last Published

September 17th, 2026

Functions in binGroup2 (1.3.4)

coef.gtReg

Extract coefficients from a fitted group testing model
binGroup2

binGroup2: Identification and Estimation using Group Testing
OTC2

Find the optimal testing configuration for group testing algorithms that use a multiplex assay for two diseases
Sterrett

Summary measures for Sterrett algorithms
designEst

Optimal group size determination based on minimal MSE when estimating an overall prevalence
TOD

Summary measures for the Thresholded Optimal Dorfman (TOD) algorithm
IndProb

Extract the individual probabilities used to calculate group testing results
GroupMembershipMatrix

Construct a group membership matrix for hierarchical algorithms
OTC1

Find the optimal testing configuration for group testing algorithms that use a single-disease assay
ExpTests.opChar

Extract the expected number of tests from testing configuration results
halving

Probability mass function for halving
formula.gtReg

Extract the model formula from a fitted group testing model
gtReg

Fitting group testing regression models
gtPower

Power to reject a hypothesis for one proportion in group testing
gtRegControl

Auxiliary for controlling group testing regression
gtTest

Hypothesis test for one proportion in group testing
gtSim

Simulation function for group testing data
expectOrderBeta

Determine a vector of probabilities for informative group testing algorithms
gtWidth

Expected width of confidence intervals in group testing
designPower

Number of groups or group size needed to achieve a power level in one parameter group testing
predict.gtReg

Predict method for gtReg
plot.OTC

Plot method for optimal testing configuration results
hivsurv

Data from an HIV surveillance project
pmf

Access the testing probability mass function returned from an object
informativeArrayProb

Arrange a matrix of probabilities for informative array testing
print.OTC

Print method for optimal testing configuration results
pmf.Sterrett

Extract probability mass function (PMF) from group testing results
pmf.halving

Extract probability mass function (PMF) from group testing results
operatingCharacteristics1

Calculate operating characteristics for group testing algorithms that use a single-disease assay
operatingCharacteristics2

Calculate operating characteristics for group testing algorithms that use a multiplex assay for two diseases
print.designPower

Print method for objects of class "designPower"
print.opChar

Print method for operating characteristics results
print.halving

Print method for objects of class "halving"
print.Sterrett

Print method for objects of class "Sterrett"
print.TOD

Print method for TOD
print.designEst

Print method for objects of class "designEst"
print.predict.gtReg

Print method for predict.gtReg
print.propCI

Print method for objects of class "propCI"
print.gtReg

Print method for gtReg
print.gtTest

Print method for objects of class "gtTest"
summary.opChar

Summary method for operating characteristics results
summary.gtReg

Summary method for gtReg
print.summary.gtReg

Print method for summary.gtReg
print.propDiffCI

Print method for objects of class "propDiffCI"
propDiffCI

Confidence intervals for the difference of proportions in group testing
propCI

Confidence intervals for one proportion in group testing
residuals.gtReg

Extract model residuals from a fitted group testing model
summary.OTC

Summary method for optimal testing configuration results
Accuracy

Extract the accuracy measures from group testing results
ExpTests.halving

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

Extract the expected number of tests from testing configuration results
Config.opChar

Extract the testing configuration from group testing results
Config

Access the testing configurations returned from an object
ExpTests

Access the expected number of tests from an object
Config.OTC

Extract the testing configuration from group testing results
ExpTests.Sterrett

Extract the expected number of tests from testing configuration results
CompareConfig

Compare group testing results
ExpTests.OTC

Extract the expected number of tests from optimal testing configuration results