getBoxplot | R Documentation |
Plotly function to generate standard box and whisker plot
getBoxplot(.data, .key, .group, .value, .valueLabel, .text, plotName)
.data |
dataframe containing numeric values between 2 groups |
.key |
dataframe key column |
.group |
string - group column - should only contain 2 groups |
.value |
numeric - numeric value to compare between groups |
.valueLabel |
string - column indicating the label for the .value values |
.text |
string - column containing text values to show in tooltip |
plotName |
string - name to attribute to plot (used for tracking clicks, events, etc) |
returns plotly box and whisker plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.