
Diagnose a tvcQGcomp Run
diagnose_tvcqgcomp_run.RdRun a compact set of structural and scientific checks on a tvcQGcomp result object.
The helper checks Monte Carlo panel balance, duplicate subject-time rows, finite hazards,
cumulative risk bounds, monotone cumulative risk, constant exposures within each intervention scenario,
and the final-time risk ordering across scenarios.
Arguments
- run_obj
Object returned by
tvcQGComp_survival().- config
Optional configuration object. If omitted,
run_obj$configis used.- tolerance
Numerical tolerance for monotonicity and range checks.