This is a C++ version of the simulation function, that will replace the while loop in the simulation call Assigning infection time to sample time is done later
1 | simulate_infection_times_cpp(exposure_set, time_set, hazard_risk, clr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.