
Function to return diagnostic tables from a SEQuential object
Source:R/class_methods.R
diagnostics.RdFunction to return diagnostic tables from a SEQuential object
Value
A named list of diagnostic tables, each broken down by baseline treatment arm. The "unique" and "non-unique" variants count different things:
outcome.unique/outcome.nonunique: distinct subjects who had the outcome vs. the total number of outcome events. These coincide for a one-time (terminal) outcome, since each subject contributes at most one event row. Both areNAfor a continuous end-of-follow-up outcome, which has no events to count.eof.unique/eof.nonunique: present only whenend_of_fup = TRUE, accounting for every trial-period at the end-of-follow-up time across four mutually exclusive categories - measuredAt k, measuredIn window,Excluded (outside window)andExcluded (no measurement)- against theEligibletotal. The non-unique (trial-period) counts partitionEligible, andAt kplusIn windowequals the trial-periods contributing to the estimate. The unique (subject) counts need not sum toEligible, since one subject can fall into different categories for different trials. For a continuous outcomeeof.summaryadditionally reports the N, mean and SD of the raw analysed measurements per arm, standing in for the suppressed outcome count tables.followup.unique/followup.nonunique: distinct subjects contributing follow-up vs. the total number of person-time intervals (expanded rows). The non-unique count is much larger because each subject contributes one row per follow-up period; it is the denominator that, withoutcome.nonunique, gives the per-arm event rate.