Deprecated; use stan_vb_opts()
instead.
Arguments
- samples
Numeric, default 2000. Overall number of approximate posterior samples.
- trials
Numeric, defaults to 10. Number of attempts to use rstan::vb()] before failing.
- iter
Numeric, defaulting to 10000. Number of iterations to use in
rstan::vb()
.- ...
Additional parameters to pass to
rstan::vb()
orcmdstanr::variational()
, depending on the chosen backend.
Value
A list of arguments to pass to rstan::vb()
.