rstan_vb_opts {EpiNow2} | R Documentation |
Rstan Variational Bayes Options
Description
Defines a list specifying the arguments passed to
rstan::vb
. Custom settings can be supplied which override the defaults.
Usage
rstan_vb_opts(samples = 2000, trials = 10, iter = 10000, ...)
Arguments
samples |
Numeric, default 2000. Overall number of approximate posterior samples. |
trials |
Numeric, defaults to 10. Number of attempts to use |
iter |
Numeric, defaulting to 10000. Number of iterations to use in
|
... |
Additional parameters to pass to |
Value
A list of arguments to pass to rstan::vb
.
Author(s)
Sam Abbott
Examples
rstan_vb_opts(samples = 1000)
[Package EpiNow2 version 1.4.0 Index]