| pack_init_prior | R Documentation |
Converts a <dist_spec> into the integer/vector representation consumed
by the init-prior loop in inst/stan/estimate_infections.stan (data
items init_dists, init_dist_params, init_lower, init_upper).
pack_init_prior(dist, lower_bound = 0)
dist |
A |
lower_bound |
Numeric, lower bound on the parameter's support. |
A list with elements dist_type (integer code: 0 = lognormal,
1 = gamma, 2 = normal), params (numeric, the distribution parameters),
lower and upper (numeric scalars).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.