MonthModelPicker: Function to choose optimal forecast model for monthly data

Description Usage Arguments Value Examples

View source: R/MonthModelPicker.R

Description

Function to choose optimal forecast model for monthly data

Usage

1
MonthModelPicker(data, Outcome, DateVar, H.Horizon = 14)

Arguments

data

A monthly tsibble.

Outcome

A valid variable name for the Outcome to be modelled in in 'data'.

DateVar

A valid variable name for the time index in 'data'.

H.Horizon

An integer for the forecast horizon/test subset of 'data'.

Value

A list containing:

Examples

1
2
data(NWSM)
MonthModelPicker(NWSM, MaxAvg, Month, H.Horizon=12)

robertwwalker/AutoForecaster documentation built on Dec. 22, 2021, 5:13 p.m.