generate_secondary_infections: Adds secondary infections to simulation

Description Usage Arguments Value

View source: R/generate_new_infections.R

Description

Potential secondary infections are generated at the time the primary case was generated. This function "loads" the infections into the simulation at the correct time. It also modifies the state_df to account for the loaded infection.

Usage

1
generate_secondary_infections(state_df, sim_params)

Arguments

state_df

state_df object for the simulation

sim_params

sim_params object (a list) containing simulation parameters

Value

A list containing


bcgov/epi.branch.sim documentation built on Dec. 16, 2020, 5:49 a.m.