Plot the eCDF consistent with FDA COA Guidance 3, using ggplot2 R package

ggplot2_eCDF(
  dat = NULL,
  output.plots = "both",
  anchor.group = NULL,
  time.var = NULL,
  change.score = NULL,
  print.to.png = FALSE,
  file.name = "Example_eCDF_ePDF_ggplot2",
  shell.table = FALSE
)

Arguments

dat

pass the dataframe

output.plots

specify what you want printed out; 'eCDF', 'ePDF', or 'both'. Default is 'both'

anchor.group

variable of the anchor group you want used here

time.var

variable of the Time in the dataframe - PLEASE CHECK THAT THIS IS CORRECTLY ORDERED, default is Time

change.score

indicate the name of the PRO change score

print.to.png

logical, output the plots to a png file

file.name

pass the name of the png file to print out

shell.table

logical, if true the sample size will be "xx", can be used as shell tables

Value

Plot of eCDF using ggplot2 package

Details

Also requires gridExtra