inf_fn: Samples the serial interval for given incubation period...

Description Usage Arguments Examples

View source: R/aux_functions.R

Description

Samples the serial interval for given incubation period samples

Usage

1
inf_fn(inc_samp = NULL, inf_shape = NULL, inf_rate = NULL, inf_shift = NULL)

Arguments

inc_samp

vector of samples from the incubation period distribution

inf_shape

shape parameter for sampling the serial interval from the incubation period

inf_rate

rate parameter for sampling the serial interval from the incubation period

inf_shift

shift parameter, describing number of days pre-symptoms can be infectious

Examples

1
fnc <- inf_fn(1, 2, 3, 3)

emmalouisedavis/TTI-branching-process documentation built on Dec. 20, 2021, 5:17 a.m.