combine_incidence_fits: Combine the posteriors of multiple stan fit

View source: R/incidence.R

combine_incidence_fitsR Documentation

Combine the posteriors of multiple stan fit

Description

Combine the posteriors of multiple stan fits into a single rstan stanfit object. This is likely useful when using incidence_lapply() to fit models using multiple sampled probability of detection curves. A simple wrapper around rstan::sflist2stanfit()

Usage

combine_incidence_fits(incidence_list)

Arguments

incidence_list

A list of incidence model fits converted to be stanfit objects from th rstan packag

Details

Progression information is displayed using the progresr package. See the package documentation for options.

Value

A stanfit model with combined posterior estimates

See Also

Other incidence: incidence_lapply(), incidence()


epiforecasts/inc2prev documentation built on Nov. 14, 2023, 1:06 p.m.