fit_model: Fit a model using the chosen backend.

View source: R/stan.R

fit_modelR Documentation

Fit a model using the chosen backend.

Description

Internal function for dispatch to fitting with NUTS or VB.

Usage

fit_model(args, id = "stan")

Arguments

args

List of stan arguments.

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.


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