Description Usage Arguments Details Value See Also
View source: R/EpidemiologyModelModifications.R
Adds rates to model object.
1 2 3 4 5 6 | AddModelRates(
model,
rateDescriptions,
rateValues,
replaceExistingRatesQ = TRUE
)
|
model |
A model object. |
rateDescriptions |
A character vector with named elements. |
rateValues |
A numerical vector with named elements. |
replaceExistingRatesQ |
Should existing rates be replaced or not? |
This function is useful when working with rate functions. If a rate in the model object is changed to be a function (instead of number) then in order to do batch simulations it is convenient to have the parameters of that function as rates in the model object.
A model.
Other Epidemiology Model Modifier functions:
AddModelIdentifier()
,
JoinModels()
,
MakeMigrationEquations()
,
TakeRHSFunctionBodyLines()
,
ToSiteCompartmentalModel()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.