Description Usage Arguments Details Value See Also
View source: R/EpidemiologyModelModifications.R
Adds a specified identifier id to all stocks and rates on the model m.
1 2 3 4 5 6 | AddModelIdentifier(
model,
id,
addToOtherLeftHandSidesQ = TRUE,
birthsTermQ = FALSE
)
|
model |
A model object. |
id |
A number or string to used as ID. |
addToOtherLeftHandSidesQ |
Should the id added to other left hand side symbols or not? |
birthsTermQ |
Should the births term be included or not? |
The original model object has birthTermsQ
in the closure of model$RHSFunction
.
(For now) it is easier to just have that parameter specified than imply it.
A model.
Other Epidemiology Model Modifier functions:
AddModelRates()
,
JoinModels()
,
MakeMigrationEquations()
,
TakeRHSFunctionBodyLines()
,
ToSiteCompartmentalModel()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.