infection_probability: Calculate the current probability of infection

Description Usage Arguments Value

View source: R/IBM_closed_SIR.R

Description

Calculate the current probability of infection

Usage

1
infection_probability(beta, I_prev, N_inv, dt)

Arguments

beta

Transmission parameter

I_prev

Number of infected people in previous timestep

N_inv

Inverse of the number of people

dt

Inverse of substep

Value

Probability of infection


mrc-ide/siR documentation built on May 6, 2019, 4:33 p.m.