Learn R Programming

UComp (version 4.0.1)

slideAux: slideAux

Description

Auxiliary function run from slide

Usage

slideAux(
  y,
  orig,
  forecFun,
  h = 12,
  step = 1,
  output = TRUE,
  graph = TRUE,
  window = NA,
  parallel = FALSE,
  ...
)

Value

Next time stamp

Arguments

y

a vector or matrix of time series

orig

starting forecasting origin

forecFun

user function that implements forecasting methods

h

forecasting horizon

step

observations ahead to move the forecasting origin

output

output TRUE/FALSE

graph

fraphical output TRUE/FALSE

window

fixed window width in number of observations (NA for non fixed)

parallel

run forecasts in parallel

...

rest of inputs to forecFun function

Author

Diego J. Pedregal