Skip to contents

Aligned Interval Plot for Adverse Events and Concomitant Medication

Usage

multi_interval(datain, subjectid)

Arguments

datain

Input list containing an element named AE (required) and an element named CM with the corresponding dataframes

subjectid

Participant ID (from the variable USUBJID)

Value

: a list containing 4 objects

  • ptly - Interactive plot output for display

  • plot - Static plot output for saving externally

  • rpt_data - Dataset used to create plot(s), for validation purpose

  • title - Report title/header, for download purpose

Examples

data(adae)
data(cm)
multi_interval(
  datain = list(AE = adae, CM = cm),
  subjectid = "01-717-1446"
)$ptly
#> Warning: Specifying width/height in layout() is now deprecated.
#> Please specify in ggplotly() or plot_ly()