calcTransRate: Calculate total transmission rate

Description Usage Arguments

View source: R/simHelpers.R

Description

calcTransRate calculates the total transmission rate at a given point in time

Usage

1

Arguments

beta

The transmission coefficient (can be thought of as the per capita contact rate times the probability of trasnmission given contact between a susceptible and an infectious individual) (numeric, positive).

S

The number of susceptible individuals in the population at a given point in time (numeric, positive).

I

The number of infectious individuals in the population at a given point in time (numeric, positive).

N

The total population size to be used in the calculation of the transmission rate (numeric, positive). Can be either the population size at the beginning of the epidemic (as in simpleSim) or the population size at the time point of interest (i.e., the initial population size minus the number of individuals who have died).


jrcpulliam/LLsim documentation built on Feb. 5, 2020, 8:49 p.m.