Learn R Programming

elaborator (version 1.3.5)

elaborator_plot_qual_trends: Generates the qualitative trends analysis plots in the shiny app elaborator

Description

Generates diagrams showing the frequency of specific patterns of decreased, stable and increased values between adjacent visits of a study separately by treatment group and laboratory parameter according to the qualitative trend analysis.

Usage

elaborator_plot_qual_trends(
  dat1,
  Variab,
  fontsize = 1,
  method = "InQuRa",
  color_palette = c("#ffffff", "#ffffcc", "#ffeda0", "#fed976", "#feb24c", "#fd8d3c",
    "#fc4e2a", "#e31a1c", "#bd0026", "#800026", "#000000"),
  Summa = Summa
)

Value

No return value. Generates plots for the qualitative trend analysis.

Arguments

dat1

data set

Variab

vector of names for laboratory parameters

fontsize

font size of numbers inside the cells of the diagram

method

method specifying if values are considered being stable if the difference falls below a specific percentage of the reference range (Reference Range), interquartile range (InQuRa) or range (Range).

color_palette

vector with 11 colors used for background of the cells

Summa

summarization matrix