forecast_hmnc: Forecasting via Harmonic Regression Model

Description Usage Arguments

View source: R/forecast_hmnc.R

Description

Forecasting based on the double seasonal harmonic regression

Usage

1
forecast_hmnc(model, par = list(season = c(7, 365.25), K = c(3, 30)), h = 30)

Arguments

model

An object of class forecast, the model after applying the double seasonal harmonic regression

par

A list contains:

  • season. A vector displays the seasonality of the times series. The default 7 and 365.25 are for the weekly and yearly seasonality respectively

  • K. A vector displays the number of Fourier term for weekly seasonality and yearly seasonality.

h

A numeric number shows the number of periods ahead to forecast (optional)


placeboo/amplify documentation built on Oct. 6, 2020, 9:04 a.m.