Learn R Programming

prophet (version 0.3.0.1)

make_holiday_features: Construct a matrix of holiday features.

Description

Construct a matrix of holiday features.

Usage

make_holiday_features(m, dates)

Arguments

m

Prophet object.

dates

Vector with dates used for computing seasonality.

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.