Learn R Programming

adepro (version 4.2.7)

adepro_slice_plot: adepro_slice_plot - function to create pie chart graph

Description

Create pie chart graph for app adepro

Usage

adepro_slice_plot(
  data,
  patients,
  ae_list,
  global_params,
  height,
  width,
  xlines,
  ylines,
  xval,
  title,
  subgroup,
  slider,
  subjidn,
  adepro_colors = c("#e43157", "#377eb8", "#4daf4a", "#984ea3", "#ff7f00", "#ffff33",
    "#a65628", "#f781bf", "#21d4de", "#91d95b", "#b8805f", "#cbbeeb"),
  info = NULL,
  legend_ae = NULL,
  arrow_data = NULL,
  show_arrows = FALSE
)

Arguments

data

adverse event data set

patients

patient data set

ae_list

list with selected adverse events

global_params

global parameter

height

height size

width

width size

xlines

lines position x

ylines

lines position y

xval

label x-axis

title

graph title

subgroup

selected subgroup

slider

day

subjidn

subjidn variable

adepro_colors

colors used in adepro (max 12)

arrow_data

data.frame with information which start/end date are imputed

show_arrows

logical value if arrows should be displayed for imputed data