besthr_data_view: Create a unified data view for besthr plotting

View source: R/plot-layers.R

besthr_data_viewR Documentation

Create a unified data view for besthr plotting

Description

Extracts and organizes data from an hrest object for plotting. Computes unified axis limits that ensure alignment between observation and bootstrap panels.

Usage

besthr_data_view(hrest, config = NULL)

Arguments

hrest

An hrest object from estimate

config

A besthr_plot_config object (optional). If NULL, uses defaults.

Value

An object of class "besthr_data_view" containing ranked data, original data, bootstrap samples, group means, confidence intervals, group sample sizes, unified rank limits, group column symbol, column info, control group name, and quantile values.

Examples

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


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