specify_delta_prior: Specify prior on delta using targeted and randomised regional...

Description Usage Arguments

View source: R/delta_prior.R

Description

Specify prior on delta using targeted and randomised regional testing data

Usage

1
specify_delta_prior(test_df, control, imperfect = TRUE)

Arguments

test_df

A data.frame with the following columns

  • Nt: Total number of targeted tests in region

  • nt: Number of targeted tests returning positive in region

  • Nr: Total number of randomised tests in region

  • nr: Number of randomised tests returning positive in region

  • M: Population of region

control

A list of control parameters defined via get_control_parameters

imperfect

Logical, whether to account for imperfect testing


alan-turing-institute/prevdebiasr documentation built on Dec. 19, 2021, 12:22 a.m.