getSideBySideGroupedBoxplot: Plotly function to generate side-by-side box and whisker...

View source: R/getSideBySideGroupedBoxPlot.R

getSideBySideGroupedBoxplotR Documentation

Plotly function to generate side-by-side box and whisker plots comparing groups by highlighted group

Description

Plotly function to generate side-by-side box and whisker plots comparing groups by highlighted group

Usage

getSideBySideGroupedBoxplot(
  .data,
  .key,
  .group,
  .comparisonGroup,
  .comparisonBaseline,
  .value,
  .valueLabel,
  .text,
  showJitter = TRUE,
  plotName
)

Arguments

.data

dataframe containing numeric values between 2 groups

.key

dataframe key column

.group

string - column indicating highlighted group membership (A vs B)

.comparisonGroup

string - column indicating the group label that should be used as the comparison

.comparisonBaseline

string - value indicating which of the comparison group values should be used as comparison

.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

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.