This is the main function users should call to visualise
Bayes-factor "power" / assurance. It is a thin wrapper
around plot_bf_assurance_curve_smooth(), so all
existing behaviour is preserved.
plot_bf_assurance_curve(power_results, bf_threshold = 10, effect_filter = NULL)A ggplot object.
Output from a brms_inla_power* function (or a data.frame with columns n, bf10 and any effect columns).
Numeric Bayes factor cutoff (default 10).
Optional named list to filter effect-grid
columns, e.g. list(treatment = 0.3).