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

regressor_column_matrix

Dataframe indicating which columns of the feature matrix correspond to which seasonality/regressor components.


Description

Includes combination components, like 'additive_terms'. These combination components will be added to the 'modes' input.

Usage

regressor_column_matrix(m, seasonal.features, modes)

Arguments

m

Prophet object.

seasonal.features

Constructed seasonal features dataframe.

modes

List with keys 'additive' and 'multiplicative' with arrays of component names for each mode of seasonality.

Value

List with items component.cols: A binary indicator dataframe with columns seasonal components and rows columns in seasonal.features. Entry is 1 if that column is used in that component. modes: Updated input with combination components.


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.