create_stan_args | R Documentation |
Generates a list of arguments as required by the stan sampling functions by
combining the required options with data, and type of initialisation.
Initialisation defaults to random but it is expected that
create_initial_conditions()
will be used.
create_stan_args(
stan = stan_opts(),
data = NULL,
init = "random",
model = "estimate_infections",
fixed_param = FALSE,
verbose = FALSE
)
stan |
A list of stan options as generated by |
data |
A list of stan data as created by |
init |
Initial conditions passed to |
model |
Character, name of the model for which arguments are to be created. |
fixed_param |
Logical, defaults to |
verbose |
Logical, defaults to |
A list of stan arguments
## Not run:
# default settings
create_stan_args()
# increasing warmup
create_stan_args(stan = stan_opts(warmup = 1000))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.