make_dummy {dsa}R Documentation

Creating set of dummy variables for specified Holidays

Description

Creating set of dummy variables for specified Holidays

Usage

make_dummy(
  holidays = NULL,
  from = -5,
  to = 5,
  h = 365,
  original = NA,
  original2 = NA
)

Arguments

holidays

holidays for which dummy variables will be created

from

start of holiday regressor. Relative to specified holiday

to

end of holiday regressor. Relative to specified holiday

h

forecast horizon

original

xts time series which characteristics will be used

original2

ts time series which characteristics will be used

Details

This function is used internally in dsa()

Author(s)

Daniel Ollech


[Package dsa version 1.0.12 Index]