Plots the average log10 BF10 against any effect grid variable, grouped/faceted.
plot_bf_expected_evidence(
power_results,
x_effect = NULL,
facet_by = NULL,
n = NULL,
agg_fun = mean,
title = NULL,
subtitle = NULL
)A ggplot object.
Simulation results from a brms_inla_power* function with compute_bayes_factor = TRUE.
Name of effect grid column for x-axis (default: first grid column).
Optional grid column(s) to facet by (default: NULL).
Optional sample size to filter to (NULL means plot all; else one curve per grid/facet).
Aggregation function if >1 entries per cell (default: mean).
Optional plot labels.