calc_R0: Calculate R0 implied from the model

Description Usage Arguments Value

View source: R/utility-functions.R

Description

Calculate R0 implied from the model

Usage

1
calc_R0(tbar, lambda, mu, q = 0, mbar = NA)

Arguments

tbar

Average duration of the communicable window.

lambda

Poisson rate

mu

Expectation of the logarithmic distribution giving the number of individuals infected per event

q

Probability of node having a communicable window of the second kind.

mbar

Average duration for communicable windows of the second kind.

Value

The value of R_0.


pspc-data-science/branchsim documentation built on Jan. 19, 2021, 10:10 a.m.