View source: R/getGroupedBoxplot.R
getGroupedBoxplot | R Documentation |
Plotly function to generate multiple box and whisker plots comparing group across secondary grouping level
getGroupedBoxplot(
.data,
.key,
.group,
.legendGroup,
.value,
.valueLabel,
.text,
.customData,
showJitter = TRUE,
plotName
)
.data |
dataframe containing numeric values between 2 groups, across secondary grouping level |
.key |
dataframe key column |
.group |
string - column indicating highlighted group membership (A vs B) |
.legendGroup |
string - column indicating the secondary group label |
.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 |
.customData |
string - column of custom data for plot (can be used to store additional data in custom data attribute) |
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.