update_disease_free_state: Update Disease-Free State

View source: R/tmb.R

update_disease_free_stateR Documentation

Update Disease-Free State

Description

Update Disease-Free State

Usage

update_disease_free_state(model, state_pattern, param_pattern)

Arguments

model

flexmodel object

state_pattern

regular expression for identifying state variables to be updated when constructing a disease-free state

param_pattern

regular expression for identifying parameters to use as disease-free state variables

Value

updated flexmodel object

See Also

Other flexmodel_definition_functions: add_factr(), add_linearized_outflow(), add_parallel_accumulators(), add_rate(), add_state_mappings(), add_state_param_sum(), initial_population(), mat_rate(), rep_rate(), update_linearized_params(), update_tmb_indices(), vec_rate()


bbolker/McMasterPandemic documentation built on Aug. 25, 2024, 6:35 p.m.