outbreak_step: Infections on one day in the network model

Description Usage Arguments Author(s)

View source: R/outbreak_step.R

Description

Infections on one day in the network model

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
outbreak_step(
  day,
  case_data,
  net,
  asym.child,
  asym.adult,
  asym.adult.inf,
  sym.child.inf,
  asym.child.inf,
  incfn,
  delayfn,
  prop.ascertain,
  presymrate,
  R,
  quarantine,
  isolation,
  tracing,
  secondary,
  outside,
  sensitivity = "high",
  testing = "none",
  cap_max_tests = NULL
)

Arguments

day

number of days from start of the inection - must be > 0

case_data

data.frame of cases in outbreak so far; initially generated by outbreak_setup

net

network from which to sample cases, in pairwise list format. Object haslemere is built into the package

incfn

function samples from incubation period; generated by dist_setup

delayfn

function samples from the onset-to-hospitalisation delay; generated by dist_setup

prop.ascertain

numeric proportion of infectious contacts ascertained by contact tracing (must be 0<=x<=1)

presymrate

the proportion of cases with pre-onset transmission (must be 0<=x<=1)

R

scaling factor for infection probability

quarantine

logical whether quarantine is in effect, if TRUE then traced contacts are isolated before symptom onset

isolation

logical whether isolation is in effect

tracing

logical whether tracing is in effect

secondary

logical whether secondary contact tracing is in effect

sensitivity

app sensitivity - "high" or "low"

testing

"realistic", "random" or "none"

cap_max_tests

integer - maximum number of tests

prop.asym

proportion of asymptomtaic cases (must be 0<=x<=1)

Author(s)

Lewis Spurgin

Joel Hellewell


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