View source on GitHub
|
Generates reach and frequency plots for the Meridian model.
meridian.analysis.visualizer.ReachAndFrequency(
meridian: model.Meridian,
selected_times: (Sequence[str] | None) = None,
use_kpi: bool = False
)
Plots the ROI by frequency for reach and frequency (RF) channels.
Methods
plot_optimal_frequency
plot_optimal_frequency(
selected_channels: (list[str] | None) = None
)
Plots the optimal frequency curves for selected channels.
| Args | |
|---|---|
selected_channels
|
Optional list of RF channels to plot. |
| Returns | |
|---|---|
| A faceted Altair plot showing a curve of the optimal frequency for the RF channels. |
update_optimal_reach_and_frequency_selected_times
update_optimal_reach_and_frequency_selected_times(
selected_times: (Sequence[str] | None) = None
)
Updates the selected times for optimal reach and frequency data.
| Args | |
|---|---|
selected_times
|
Optional list containing a subset of times to include. By default, all time periods are included. |
View source on GitHub