initialize_parmset: Run compartment model from an initial state

Description Usage Arguments

View source: R/bayes-filter.R

Description

This is a wrapper for run_parmset for cases where we have a set of parameters including an initial infection level, and we want to run it from the start of a scenario to a specified time.

Usage

1
initialize_parmset(parms, obsdata, t1, dt = 1)

Arguments

parms

Named vector of model parameters: beta, A0, D0, Ts, I0, and mask_effect.

obsdata

Data frame of observed data. The only columns used in this case are time and total population.

t1

End time for the scenario.

dt

Time step for scenario output. Default is dt=1. Note that if dt > 1, the end time t1 might not be included in the output.


rplzzz/CovMitigation documentation built on June 7, 2021, 8:48 a.m.