prob_of_missing_case: Calculate probabilility of a case not being caught by...

View source: R/prob_of_missing_case.R

prob_of_missing_caseR Documentation

Calculate probabilility of a case not being caught by monitoring

Description

Calculate probabilility of a case not being caught by monitoring

Usage

prob_of_missing_case(dat, dist = "gamma")

Arguments

dat

a data.frame with column names explained in details

dist

character string specifying the parametric distribution of dat

Details

Column names of the dat argument

  • "phi"the probability of an exposed individual becoming symptomatic

  • "shape"shape parameter of the gamma distribution for incubation periods

  • "scale"scale parameter of the gamma distribution for incubation periods

  • "d"the duration of the active monitoring period

  • "u"the assumed number of days between exposure and the beginning of monitoring

Value

the inputted data.frame with an additional column called 'p'


reichlab/activemonitr documentation built on April 9, 2024, 2:17 p.m.