prepare_simple_box_data | R Documentation |
Prepares data for plotting boxes without grouping by calculating box boundaries based on category positions.
prepare_simple_box_data(data, cat_a, cat_b, cat_a_order, cat_b_order)
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. |
A data frame with box boundaries for plotting.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.