compose_besthr_panels: Compose besthr panels

View source: R/plot-panels.R

compose_besthr_panelsR Documentation

Compose besthr panels

Description

Combines observation and bootstrap panels using patchwork with proper alignment and shared legends.

Usage

compose_besthr_panels(panels, config)

Arguments

panels

A list of ggplot objects to compose

config

A besthr_plot_config object

Value

A patchwork object

Examples

d <- make_data()
hr <- estimate(d, score, group)
dv <- besthr_data_view(hr)
cfg <- besthr_plot_config()

p1 <- build_observation_panel(dv, cfg)
p2 <- build_bootstrap_panel(dv, cfg)
compose_besthr_panels(list(p1, p2), cfg)


besthr documentation built on March 18, 2026, 5:08 p.m.