make_holiday {dsa} | R Documentation |
Creating Holiday dummy
Description
This function uses the Holiday dates of the timeDate::timeDate package to create dummies on a specified holiday.
Usage
make_holiday(dates = timeDate::Easter(2000:2030), shift = 0)
Arguments
dates |
Holiday and period for which dummy shall be created |
shift |
shifting point in time for dummy |
Details
With shift the user can specify for how many days before (negative value) or after (positive value) the holiday a dummy will be created.
Author(s)
Daniel Ollech
Examples
make_holiday(dates=timeDate::Easter(2000:2030), shift=-1)
[Package dsa version 1.0.12 Index]