add_state_mappings | R Documentation |
Add regular expressions for identifying what states are included in various stages of the eigenvector-based method for constructing initial states (https://canmod.net/misc/flex_specs#v0.1.1)
add_state_mappings(
model,
eigen_drop_pattern,
infected_drop_pattern,
initial_susceptible_pattern
)
model |
|
eigen_drop_pattern |
regular expression for identifying states to be dropped before computing the eigenvector of the Jacobian of the linearized model |
infected_drop_pattern |
regular expression for identifying states to be dropped from the eigenvector so that only 'infected' states remain |
initial_susceptible_pattern |
regular expression for identifying states associated with susceptible classes |
updated flexmodel
object
Other flexmodel_definition_functions:
add_factr()
,
add_linearized_outflow()
,
add_parallel_accumulators()
,
add_rate()
,
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.