fit_model_approximate: Fit a Stan Model using an approximate method

View source: R/fit.R

fit_model_approximateR Documentation

Fit a Stan Model using an approximate method

Description

[Maturing] Fits a stan model using variational inference.

Usage

fit_model_approximate(args, future = FALSE, id = "stan")

Arguments

args

List of stan arguments.

future

Logical, defaults to FALSE. Should future be used to run stan chains in parallel.

id

A character string used to assign logging information on error. Used by regional_epinow() to assign errors to regions. Alter the default to run with error catching.

Value

A stan model object


epiforecasts/EpiNow2 documentation built on Dec. 20, 2024, 10:12 p.m.