smesir_forecast: smesir_forecast:

View source: R/smesir_forecast.R

smesir_forecastR Documentation

smesir_forecast:

Description

Forecasts incidence events within the smeSIR model framework. A companion function to smesir.

Usage

smesir_forecast(Jf, model_fit, new_x = NULL)

Arguments

Jf

Integer length of the forecast time horizon

model_fit

A list returned from the smesir function

new_x

An list containing covariate data with which to forecast, as needed by by the model fit in the antecedent "model_fit" call.


davidbuch/smesir documentation built on Oct. 31, 2022, 1:14 p.m.