- df
The subject-level data, including trialsdt
,
usubjid
, randdt
, and cutoffdt
for enrollment
prediction, as well as time
, event
and dropout
for event prediction, and treatment
coded as 1, 2,
and so on, and treatment_description
for prediction
by treatment group.
- to_predict
Specifies what to predict: "enrollment only",
"event only", or "enrollment and event". By default, it is set to
"event only".
- showplot
A Boolean variable to control whether or not to
show the observed data plots. By default, it is set to TRUE
.
- by_treatment
A Boolean variable to control whether or not to
summarize observed data by treatment group. By default,
it is set to FALSE
.
- generate_plot
Whether to generate plots.
- interactive_plot
Whether to produce interactive plots using
plotly or static plots using ggplot2.