Learn R Programming

prophet (version 1.0)

make_all_seasonality_features: Dataframe with seasonality features. Includes seasonality features, holiday features, and added regressors.

Description

Dataframe with seasonality features. Includes seasonality features, holiday features, and added regressors.

Usage

make_all_seasonality_features(m, df)

Arguments

m

Prophet object.

df

Dataframe with dates for computing seasonality features and any added regressors.

Value

List with items seasonal.features: Dataframe with regressor features, prior.scales: Array of prior scales for each colum of the features dataframe. component.cols: Dataframe with indicators for which regression components correspond to which columns. modes: List with keys 'additive' and 'multiplicative' with arrays of component names for each mode of seasonality.