prophet_decomp | R Documentation |
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,
paid_media_vars,
intervalType,
dayInterval,
custom_params
)
dt_transform |
A data.frame with all model features.
Must contain |
dt_holidays |
data.frame. Raw input holiday data. Load standard
Prophet holidays using |
context_vars , paid_media_spends , intervalType , dayInterval , prophet_country , prophet_vars , prophet_signs , factor_vars |
As included in |
organic_vars |
Character vector. Typically newsletter sendings,
push-notifications, social media posts etc. Compared to |
paid_media_vars |
Character vector. Names of the paid media variables'
exposure level metrics (impressions, clicks, GRP etc) other than spend.
The values on each of these variables must be numeric. These variables are not
being used to train the model but to check relationship and recommend to
split media channels into sub-channels (e.g. fb_retargeting, fb_prospecting,
etc.) to gain more variance. |
custom_params |
List. Custom parameters passed to |
A list containing all prophet decomposition output.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.