Description Usage Arguments Details Examples
View source: R/epidemicSimulations.R
perform and return epidemic simulations based on a fitted model object
1 | epidemic.simulations(modelObject, replicates = 1, verbose = FALSE)
|
modelObject |
a SpatialSEIRModel object, as created by the |
replicates |
the number of replicate simulations to perform for each sample
contained in |
verbose |
a logical value, indicating whether verbose output should be provided. |
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 this function.
1 2 3 | ## Not run: simulate_values <- 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.