View source: R/getSideBySideGroupedBoxPlot.R
getSideBySideGroupedBoxplot | R Documentation |
Plotly function to generate side-by-side box and whisker plots comparing groups by highlighted group
getSideBySideGroupedBoxplot(
.data,
.key,
.group,
.comparisonGroup,
.comparisonBaseline,
.value,
.valueLabel,
.text,
showJitter = TRUE,
plotName
)
.data |
dataframe containing numeric values between 2 groups |
.key |
dataframe key column |
.group |
string - column indicating highlighted group membership (A vs B) |
.comparisonGroup |
string - column indicating the group label that should be used as the comparison |
.comparisonBaseline |
string - value indicating which of the comparison group values should be used as comparison |
.value |
numeric - column with numerical value to compare between groups |
.valueLabel |
string - column indicating the label for numerical values used in boxplots |
.text |
string - column containing text values to show in tooltip |
showJitter |
boolean - show jittered points? |
plotName |
string - name to attribute to plot (used for tracking clicks, events, etc) |
returns subplot 1 x 2 plotly box and whisker plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.