Heatmap of mean log10 BF10 as a function of two effect grid columns (x/y), with optional faceting.
plot_bf_heatmap(
power_results,
x_effect = NULL,
y_effect = "n",
facet_by = NULL,
n = NULL,
agg_fun = mean,
title = NULL,
subtitle = NULL
)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).
Name of effect grid column for y-axis (default: "n").
Optional column(s) to facet by.
Optional sample size to filter to (NULL means plot all; else show only that n).
Aggregation function (default: mean).
Optional plot labels.