vec_rate: Specify Vector of Rates

View source: R/tmb.R

vec_rateR Documentation

Specify Vector of Rates

Description

Specify Vector of Rates

Usage

vec_rate(model, from, to, formula)

Arguments

model

flexmodel object

from

character vector defining states from which flow is coming

to

character vector defining states from which flow is going

formula

struc-class object defining a vector of flows for each from-to pair. See avail_for_rate for a function that will print out the names of variables that are available for use in these struc-class objects.

mapping

experimental – please choose default for now

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_disease_free_state(), update_linearized_params(), update_tmb_indices()

Other rate_functions: add_rate(), mat_rate(), rep_rate()


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