Plot Model Difference Heatmap
plot_model_difference_heatmap.RdCreates a bivariate heatmap comparing the difference in total deaths between two models ("OTEM" and "BCROM"), including a custom legend laid out as a 3x3 grid.
Arguments
- result
A list containing OAT results with
x_label,y_label,x_tick_labels,y_tick_labels, anddata.- sensitivity_analysis
Optional name of the element within
resultcontaining OAT results. Can be either"pop_mort"or"oat_ret"Defaults to"oat_ret".- breaks
vector of length 4 to define small, medium, and large categories, default is
NULL