create_stan_data | R Documentation |
Takes the output of stan_opts()
and converts it into a list understood by
stan. Internally calls the other create_
family of functions to
construct a single list for input into stan with all data required
present.
create_stan_data(
data,
seeding_time,
rt,
gp,
obs,
horizon,
backcalc,
shifted_cases
)
data |
A |
seeding_time |
Integer; seeding time, usually obtained using
|
rt |
A list of options as generated by |
gp |
A list of options as generated by |
obs |
A list of options as generated by |
horizon |
Numeric, defaults to 7. Number of days into the future to forecast. |
backcalc |
A list of options as generated by |
shifted_cases |
A |
A list of stan data
## Not run:
create_stan_data(
example_confirmed, 7, rt_opts(), gp_opts(), obs_opts(), 7,
backcalc_opts(), create_shifted_cases(example_confirmed, 7, 14, 7)
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.