Description Usage Arguments Details Value Examples
Simulate from a SEIR/SEIRS process using R (debug feature)
1 2 3 4 5 6 7 8 9 | Rsim(
seed,
params,
exposure_model,
reinfection_model,
distance_model,
transition_priors,
initial_value_container
)
|
seed |
A random seed |
params |
Parameters needed for the simulation, a list including beta_SE, beta_RS, rho, gamma_EI, gamma_IR, and optionally path-specific parameters. |
exposure_model |
An exposure model object, which describes the
spatial and temporal variability of the exposure/infection process. Valid
exposure models are created using the |
reinfection_model |
A reinfection model object, which describes
whether or not individuals are able to return from the Removed category
to the Susceptible population. Valid reinfection models are created using the
|
distance_model |
A distance model object which describes the underlying
contact network, in addition to prior parameters which constrain the contact
process. Valid distance models are created using |
transition_priors |
An object containing information about the E to I and
I to R transition prior parameters. These are created using the
|
initial_value_container |
An object specifying the initial state
of the epidemic for each spatial location, created by the
|
This function is provided for testing and debugging purposes: it's not intended for the end user
a list
1 2 3 4 5 6 7 8 9 10 | ## Not run: results = Rsim(seed,
beta_SE,
beta_RS,
rho,
exposure_model,
reinfection_model,
distance_model,
transition_priors,
initial_value_container)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.