build_observation_panel: Build the observation panel

View source: R/plot-panels.R

build_observation_panelR Documentation

Build the observation panel

Description

Creates a ggplot showing either ranked observations (averaged tech reps) or raw scores with technical replicates displayed.

Usage

build_observation_panel(data_view, config, which = "rank_simulation")

Arguments

data_view

A besthr_data_view object

config

A besthr_plot_config object

which

Character specifying panel type: "rank_simulation" for averaged ranked data, or "just_data" for raw scores with tech reps.

Value

A ggplot object

Examples

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

build_observation_panel(dv, cfg, "rank_simulation")


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