getBoxPlotWithSelectedRecords: Plotly function to generate standard box and whisker plot...

View source: R/getBoxPlotWithSelectedRecords.R

getBoxPlotWithSelectedRecordsR Documentation

Plotly function to generate standard box and whisker plot with highighted / selected points

Description

Plotly function to generate standard box and whisker plot with highighted / selected points

Usage

getBoxPlotWithSelectedRecords(
  .data,
  .key,
  .group,
  .groupBaselineLabel,
  .value,
  .valueLabel,
  .text,
  .selectedIndicator,
  plotName
)

Arguments

.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)

Value

returns plotly box and whisker plot


cusom/CUSOM.ShinyHelpers documentation built on Oct. 23, 2023, 6:50 a.m.