Description Usage Arguments Value Examples
View source: R/create_holidays_df.R
This is is used with the prophet package to do forecasting of time series. Adding holiday information may improve the accuracy of the forecast.
1 | create_df_holidays(begin, end)
|
begin |
Date indicating when we should start looking for holidays. |
end |
Date indicating when we should stop looking for holidays. |
A data frame with two columns: ds and holiday. The former contains a date, and the latter, a description of the holiday.
1 | create_df_holidays(lubridate::ymd("20180101"), lubridate::ymd("20181231"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.