add_linearized_outflow | R Documentation |
Add outflows corresponding to inflows specified by
add_rate
, rep_rate
, and vec_rate
.
add_linearized_outflow(model, from, to)
add_outflow(model, from = ".+", to = ".+")
model |
|
from |
string giving a regular expression for identifying states from which individuals are flowing |
to |
string giving a regular expression for identifying states to which individuals are flowing |
By default, this function will set outflows for all
corresponding inflows. To define outflows from
specific states to
other specific states, pass
regular expressions to the from
and to
arguments to identify these states.
add_linearized_outflow
is used to specify
outflows in linearized models
(https://canmod.net/misc/flex_specs#v0.1.1).
updated flexmodel
object
Other flexmodel_definition_functions:
add_factr()
,
add_parallel_accumulators()
,
add_rate()
,
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.