Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

make_holiday_features

Construct a matrix of holiday features.


Description

Construct a matrix of holiday features.

Usage

make_holiday_features(m, dates, holidays)

Arguments

m

Prophet object.

dates

Vector with dates used for computing seasonality.

holidays

Dataframe containing holidays, as returned by construct_holiday_dataframe.

Value

A list with entries holiday.features: dataframe with a column for each holiday. prior.scales: array of prior scales for each holiday column. holiday.names: array of names of all holidays.


prophet

Automatic Forecasting Procedure

v1.0
MIT + file LICENSE
Authors
Sean Taylor [cre, aut], Ben Letham [aut]
Initial release
2021-03-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.