stan_laplace_opts {EpiNow2}R Documentation

Stan Laplace algorithm Options

Description

[Experimental] Defines a list specifying the arguments passed to cmdstanr::laplace().

Usage

stan_laplace_opts(backend = "cmdstanr", trials = 10, ...)

Arguments

backend

Character string indicating the backend to use for fitting stan models. Supported arguments are "rstan" (default) or "cmdstanr".

trials

Numeric, defaults to 10. Number of attempts to use rstan::vb()] before failing.

...

Additional parameters to pass to cmdstanr::laplace().

Value

A list of arguments to pass to cmdstanr::laplace().

Examples

stan_laplace_opts()

[Package EpiNow2 version 1.5.2 Index]