fit_model_with_vb: Fit a Stan Model using Variational Inference

fit_model_with_vbR Documentation

Fit a Stan Model using Variational Inference

Description

[Maturing] Fits a stan model using variational inference.

Usage

fit_model_with_vb(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

Author(s)

Sam Abbott


EpiNow2 documentation built on Sept. 26, 2023, 5:11 p.m.