fv_inits | R Documentation |
Set up initial conditions for model
fv_inits(data, strains = 2)
data |
A list of data as produced by |
strains |
Integer number of strains. Defaults to 2. Current maximum is 2. |
A function that when called returns a list of initial conditions for the package stan models.
Functions used for modelling
fv_as_data_list()
,
fv_model()
,
fv_sample()
dt <- fv_as_data_list(latest_obs(germany_covid19_delta_obs))
inits <- fv_inits(dt)
inits
inits()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.