prepare_simple_box_data: Prepare Simple Box Data (no grouping)

View source: R/utils.R

prepare_simple_box_dataR Documentation

Prepare Simple Box Data (no grouping)

Description

Prepares data for plotting boxes without grouping by calculating box boundaries based on category positions.

Usage

prepare_simple_box_data(data, cat_a, cat_b, cat_a_order, cat_b_order)

Arguments

data

A data frame containing the variables.

cat_a

The name of the column representing category A.

cat_b

The name of the column representing category B.

cat_a_order

A vector specifying the order of category A.

cat_b_order

A vector specifying the order of category B.

Value

A data frame with box boundaries for plotting.


diceplot documentation built on June 25, 2025, 1:08 a.m.