rstan_opts: Rstan Options

View source: R/opts.R

rstan_optsR Documentation

Rstan Options

Description

[Deprecated] Deprecated; specify options in stan_opts() instead.

Usage

rstan_opts(object = NULL, samples = 2000, method = c("sampling", "vb"), ...)

Arguments

object

Stan model object. By default uses the compiled package default.

samples

Numeric, default 2000. Overall number of posterior samples. When using multiple chains iterations per chain is samples / chains.

method

A character string, defaulting to sampling. Currently supports rstan::sampling() ("sampling") or rstan::vb().

...

Additional parameters to pass underlying option functions.

Value

A list of arguments to pass to the appropriate rstan functions.

See Also

rstan_sampling_opts() rstan_vb_opts()


epiforecasts/EpiNow2 documentation built on May 13, 2024, 3:11 a.m.