kaigu1990 / stabiot

Common Statistical Analysis for Clinical Trials in Biotech
GNU General Public License v3.0
2 stars 0 forks source link

Create a function to count events #24

Closed kaigu1990 closed 5 months ago

kaigu1990 commented 5 months ago

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.