incidence_lapply: Fit multiple incidence models efficiently

View source: R/incidence.R

incidence_lapplyR Documentation

Fit multiple incidence models efficiently

Description

Fits multiple incidence() models in an efficient, optionally in parallel, framework with user definable progression settings.

Usage

incidence_lapply(prev_list, ...)

Arguments

prev_list

A list of lists of data as produced by i2p_data().

...

Additional arguments passed to incidence() and/or future_lapply().

Details

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

Value

A fit stan model as produced by the option passed to fit_fn.

See Also

Other incidence: combine_incidence_fits(), incidence()


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