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

Description Usage Arguments

View source: R/aux_functions.R

Description

Samples the serial interval for given incubation period samples - gives an infection prob for a given day

Usage

1
2
3
4
5
6
7
8
inf_prob(
  day = NULL,
  inc_samp = NULL,
  theta = NULL,
  R = NULL,
  contactrate = NULL,
  infasym = NULL
)

Arguments

day

day of simulation

inc_samp

vector of samples from the incubation period distribution

R

scaling factor

infasym

vector of weights based on whether inds are asymptomatic

k

numeric skew parameter for sampling the serial interval from the incubation period


lgs85/covidsch documentation built on May 24, 2020, 4:31 a.m.