Learn R Programming

EpiNow2 (version 1.7.0)

setup_forecast: Ensure forecast is properly set up

Description

Ensure forecast is properly set up

Usage

setup_forecast(forecast, horizon = NULL)

Arguments

forecast

A list of options as generated by forecast_opts() defining the forecast opitions. Defaults to forecast_opts(). If NULL then no forecasting will be done.

horizon

Deprecated; use forecast instead to specify the predictive horizon