add_rate | R Documentation |
Define how the rate of flow from one compartment to another depends on parameters, state variables, .
add_rate(model, from, to, formula)
model |
|
from |
Name of state from which flow is coming |
to |
Name of state to which flow is going |
formula |
Model formula defining dependence of the rate on
existing variables. See |
updated flexmodel
with an additional
non-zero rate matrix
element specified
Other flexmodel_definition_functions:
add_factr()
,
add_linearized_outflow()
,
add_parallel_accumulators()
,
add_state_mappings()
,
add_state_param_sum()
,
initial_population()
,
mat_rate()
,
rep_rate()
,
update_disease_free_state()
,
update_linearized_params()
,
update_tmb_indices()
,
vec_rate()
Other rate_functions:
mat_rate()
,
rep_rate()
,
vec_rate()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.