When I validate the AE overview table, I will basically need a function to generate the numbers for specific AE events, such as the number of subjects with treatment-related TEAEs.
Thus this function s_count_events() should accept multiple filtering conditions, and define the count level (like SUBJID) as well. At last the print method would be better to use rtables styles.
When I validate the AE overview table, I will basically need a function to generate the numbers for specific AE events, such as the number of subjects with treatment-related TEAEs.
Thus this function
s_count_events()
should accept multiple filtering conditions, and define the count level (like SUBJID) as well. At last the print method would be better to usertables
styles.