| compose_besthr_panels | R Documentation |
Combines observation and bootstrap panels using patchwork with proper alignment and shared legends.
compose_besthr_panels(panels, config)
panels |
A list of ggplot objects to compose |
config |
A besthr_plot_config object |
A patchwork object
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.