chart_mediaplan | R Documentation |
This function creates a stacked bar chart where period is on the X axis, optimal spend is on the Y axis and we have a legend entry per allocation unit (without period).
chart_mediaplan(all_scenarios_table, chosen_scenario, chosen_grouping = NULL)
all_scenarios_table |
A data set with information from all scenarios. |
chosen_scenario |
A scenario name. |
chosen_grouping |
One of "alloc_unit", "channel", "channel.group.level1, "channel.group.level2", "channel.group.level3". |
The user can supply channel filters.
A chart.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.