Open LittleBeannie opened 4 weeks ago
I agree this is an important discussion to have. The class system in {gsDesign2} is complex.
Some additional high-level questions I have:
inherits()
or %in% class()
? And for the latter, can we redesign the functions to use S3 methods instead of these ad-hoc class-specific code chunks?Waiting on #461/#282 first for @yihui to refactor the summary()
methods
In the current version of gsDesign2, we have the class of
fixed_design
gs_design
ahr
wlr
maxcombo
In the current version of simtrial, we have the class of
counting_process
(to tell whether it is a counting process or TTE datasets)simtrial_gs_wlr
(to summary simulations with >=2 analyses)simtrial_fixed_wlr
(future; to summary simulations with 1 analysis)Two questions: