sim_one_event: Simulate the next event using Gillespie's next reaction...

Description Usage Arguments Value

View source: R/sim_one_event.R

Description

Internal function for simulate_epimodel, which is its parent environment. This function uses the rate_mat, t, and epimodel objects in its parent environment, modifying them there.

Usage

1
sim_one_event(config_list, epimodel, lump)

Arguments

config_list

list with three named elements - config_mat, pop_mat, rate_mat, and dt_mat.

Value

updated config_list


fintzij/BDAepimodel documentation built on Sept. 20, 2020, 1:44 p.m.