robyn_performance {lares} | R Documentation |
Robyn: Dynamic Performance and Contribution Report
Description
Given a date range, calculate specific and total performance and contribution for each of your marketing and non-marketing channels.
Usage
robyn_performance(
InputCollect,
OutputCollect,
start_date = NULL,
end_date = NULL,
solID = NULL,
totals = TRUE,
quiet = FALSE,
...
)
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). |
quiet |
Boolean. Keep quiet? If not, message will be shown. |
... |
Additional parameters. |
Value
data.frame with results on ROAS/CPA, spend, response, contribution per channel, with or without total rows.
See Also
Other Robyn:
robyn_hypsbuilder()
,
robyn_modelselector()
Examples
## Not run:
# You may load an exported model to recreate Robyn objects
mod <- Robyn::robyn_recreate(json_file = "your_model.json")
robyn_performance(mod$InputCollect, mod$OutputCollect)
## End(Not run)
[Package lares version 5.2.8 Index]