getGroupedBoxplot: Plotly function to generate multiple box and whisker plots...

View source: R/getGroupedBoxplot.R

getGroupedBoxplotR Documentation

Plotly function to generate multiple box and whisker plots comparing group across secondary grouping level

Description

Plotly function to generate multiple box and whisker plots comparing group across secondary grouping level

Usage

getGroupedBoxplot(
  .data,
  .key,
  .group,
  .legendGroup,
  .value,
  .valueLabel,
  .text,
  .customData,
  showJitter = TRUE,
  plotName
)

Arguments

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

Value

returns subplot 1 x 2 plotly box and whisker plot


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