data.frame with results on ROAS/CPA, spend, response, contribution
per channel, with or without total rows.
Arguments
InputCollect, OutputCollect
Robyn output objects.
start_date, end_date
Date. Start and end date to filter
the data to be reported.
solID
Character. Single ID of the model to report. If there's
only one available in OutputCollect, no need to define.
totals
Boolean. Add total rows. This includes summary rows
(promotional which is paid and organic channels, baseline, grand total).
non_promo
Boolean. Add non-promotional responses as well?
marginals
Boolean. Include mROAS or mCPA marginal performance metric
as an additional column called "marginal". Calculations are based on
mean spend and mean response with mean carryover results,
between start_date and end_date.
carryovers
Boolean. Add mean percentage of carryover response for
date range between start_date and end_date on paid channels.
Keep in mind organic variables also have carryover but currently not showing.
new_version
Boolean. Use dev version's new function for marginal
calculations (if available)?
quiet
Boolean. Keep quiet? If not, message will be shown.
...
Additional parameters.
See Also
Other Robyn:
robyn_hypsbuilder(),
robyn_marginal(),
robyn_modelselector()
if (FALSE) {
# You may load an exported model to recreate Robyn objectsmod <- Robyn::robyn_recreate(json_file = "your_model.json")
robyn_performance(mod$InputCollect, mod$OutputCollect)
}