Description Usage Arguments Details Examples
Compute empirically adjusted reproductive number curves for a PosteriorSimulation object
1 | ComputeR0(SimObject, cores = 1)
|
SimObject |
a PosteriorSimulation object, as created by the |
cores |
Optional argument - use multiple cores? |
The main SpatialSEIRModel functon performs many simulations, but for the sake of
memory efficiency and runtime does not return the simulated compartment values
to the user. If simulated epidemics are desired, they may be quickly and
easily generated using the epidemic.simulations
function.
Reproductive number estimation is performed using this function, as the
calculations are somewhat computationally intensive and may not be required by
all users.
1 2 3 | ## Not run: r0 <- ComputeR0(epidemic.simulations(modelObject, replicates = 10,
verbose = TRUE))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.