Description Usage Arguments Value Examples
Generate a flexible box plot for endpoint analysis
1 2 3 |
data |
a dataframe containing the input data to plot (dataframe) |
group_by |
x-axis grouping factor variable (string) |
y |
column name for y-axis parameter (string) |
color_by |
factor variable to color by (string) |
color_lbl |
boolean to determine whether or not to display the column name used as color label, default is TRUE (logical) |
facet |
optional parameter, column name containing a subgrouping factor to facet the plot by (string) |
aggr |
column name used to compute aggregate counts (n = ) in legend, default is "USUBJID" (string) |
show_n |
boolean parameter for displaying counts from aggr, default is TRUE (logical) |
title |
optional parameter, custom plot title (string) |
xlab |
optional parameter, custom x-axis plot label (string) |
ylab |
optional parameter, custom y-axis plot label (string) |
caption |
optional string to include as a caption on bottom of plot (string) |
size |
optional string to specify font size schema ("small" for PDF usage or "large" for Shiny apps) to use for plot, default is "small" (string) |
produces a box plot with optional facet parameters
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.