Learn R Programming

spread (version 2019.8.5)

commuter_cpp: commuter

Description

commuter

Usage

commuter_cpp(seiiar_home, seiiar_commuters, beta, a, gamma,
  asymptomaticProb, asymptomaticRelativeInfectiousness, N = 1L,
  M = 56L)

Arguments

seiiar_home

Data frame

seiiar_commuters

Data frame

beta

Float, infection parameter, 0.6

a

Float, 1/latent period, 1/1.9

gamma

Float, 1/infectious period, 1/3

asymptomaticProb

Float, Proportion/probability of asymptomatic given infectious

asymptomaticRelativeInfectiousness

Float, Relative infectiousness of asymptomatic infectious

N

Int = 1 int, Number of repetitions

M

Int, Number of days