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.


EpiNow2 documentation built on Oct. 31, 2024, 5:09 p.m.