View source: R/getBoxPlotWithSelectedRecords.R
getBoxPlotWithSelectedRecords | R Documentation |
Plotly function to generate standard box and whisker plot with highighted / selected points
getBoxPlotWithSelectedRecords(
.data,
.key,
.group,
.groupBaselineLabel,
.value,
.valueLabel,
.text,
.selectedIndicator,
plotName
)
.data |
dataframe containing numeric values between 2 groups |
.key |
dataframe key column |
.group |
string - group column - should only contain 2 groups |
.groupBaselineLabel |
string - value indicating the group label that should be used as the comparison |
.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 |
.selectedIndicator |
boolean - column indicating whether the row has been selected via click or selected action |
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.