elaborator_boxplot: Boxplot function used in app elaborator

View source: R/elaborator_boxplot.R

elaborator_boxplotR Documentation

Boxplot function used in app elaborator

Description

Boxplot function used in app elaborator

Usage

elaborator_boxplot(
  elab_data,
  draw_points_logical,
  same_axes_per_treatment_logical,
  boxplot_color,
  boxplot_border_color,
  lines_data,
  number_plots,
  tol_percentage,
  test_results_logical,
  length_visit2_is_one_logical,
  sort_points,
  incProgress,
  outliers_logical,
  col_lines_options,
  custom_visit
)

Arguments

elab_data

nested elaborator data with possibly up to three nests 'raw', 'test' and 'differences' grouped by treatment and labparameter

draw_points_logical

a logical (TRUE/FALSE) if points should be drawn

same_axes_per_treatment_logical

a logical (TRUE/FALSE) if same axes should be used within lab parameters

boxplot_color

vector with color(s) for boxplots

boxplot_border_color

vector with color(s) for boxplots border (used to incidate which visits are used for statistical tests)

lines_data

data frame with connection lines between subjects lab values

number_plots

number of plots (used in progress bar (if incProgress is TRUE))

tol_percentage

tolerated percentage value

test_results_logical

a logical (TRUE/FALSE) if statistical test is used

length_visit2_is_one_logical

a logical (TRUE/FALSE) if statistical test is performed between one or more visits (this will influence the appearence of the background)

incProgress

a logical (TRUE/FALSE) indicates if shiny progress bar is used

col_lines_options

option how the lines between visits should be colorized. Possible options are "first_last","each_visit", "custom_visits" or "all_grey". In the first three options decrease is colorized blue and an increase orange.

custom_visit

if col_lines_options is "custom_visits" then two visits need to be selected. Otherwise all lines are grey.

Value

No return value. Boxplots are generated, used in elaborator.


elaborator documentation built on April 4, 2025, 5:31 a.m.