get_intermediate_inf: Calculate the intermediate infection states

View source: R/get_dqc_stoch.R

get_intermediate_infR Documentation

Calculate the intermediate infection states

Description

This low-level function stochastically derives the intermediate infections derived from a DQC matrix in one generation

Usage

get_intermediate_inf(dqc, infect, n_inf = 1000, theta = 0.2)

Arguments

dqc

Current values for DQC compartments. All elements of this vector should sum to 1.

infect

INFECT matrix returned by get_infect_mat

n_inf

Number of infections (or effective population size of infected individuals). Default 1000.

theta

Non-negative numeric value. Shape parameter for overdispersion in R. Default 0.2.

Value

Vector of intermediate infection states


HopkinsIDD/tti documentation built on May 24, 2022, 1:11 a.m.