make_holiday: Creating Holiday dummy

Description Usage Arguments Details Author(s) Examples

View source: R/make_holiday.R

Description

This function uses the Holiday dates of the timeDate::timeDate package to create dummies on a specified holiday.

Usage

1
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

1
make_holiday(dates=timeDate::Easter(2000:2030), shift=-1)

dsa documentation built on June 21, 2021, 9:07 a.m.