EventDuration
EventDuration.Rd
Module that displays the Event Duration from the TreatmentPatterns
package.
Super class
DarwinShinyModules::ShinyModule
-> EventDuration
Active bindings
plot
(
PlotPlotly
) module.table
(
Table
) module.inputPanel
(
InputPanel
) module.summaryEventDuration
(
data.table
)cdmSourceInfo
(
data.frame
)
Methods
Method new()
Initializer method
Usage
EventDuration$new(summaryEventDuration, cdmSourceInfo, ...)
Examples
{
if (interactive()) {
library(DarwinShinyModules)
tpr <- TreatmentPatterns::TreatmentPatternsResults$new(
filePath = system.file(package = "DarwinShinyModules", "dummyData/TreatmentPatterns/3.0.0/")
)
treatmentPathways <- EventDuration$new(
treatmentPathways = tpr$treatment_pathways,
cdmSourceInfo = tpr$cdm_source_info
)
preview(treatmentPathways)
}
}