When prophet_vars
in robyn_inputs()
is specified, this
function decomposes trend, season, holiday and weekday from the
dependent variable.
prophet_decomp(
dt_transform,
dt_holidays,
prophet_country,
prophet_vars,
prophet_signs,
factor_vars,
context_vars,
organic_vars,
paid_media_spends,
intervalType,
dayInterval,
custom_params
)
A list containing all prophet decomposition output.
A data.frame with all model features.
Must contain ds
column for time variable values and
dep_var
column for dependent variable values.
data.frame. Raw input holiday data. Load standard
Prophet holidays using data("dt_prophet_holidays")
As included in InputCollect
Character vector. Typically newsletter sendings,
push-notifications, social media posts etc. Compared to paid_media_vars
organic_vars
are often marketing activities without clear spends.
List. Custom parameters passed to prophet()