Bar chart of subgroups identified across simulations, filtered to
those appearing in at least min_pct of the found simulations.
plot_sg_distribution(
results,
min_pct = 5,
title = "Distribution of Identified Subgroups",
wrap_width = 25
)A ggplot2 object
data.table from mrct_region_sims()
Numeric. Minimum percentage threshold for display (default: 5)
Character. Plot title. Default: "Distribution of Identified Subgroups"
Integer. Character width for wrapping long subgroup labels. Default: 25