
Validate Table 1 Reconciliation against Published Baseline
Source:R/table1.R
validate_table1_reconciliation.RdReconciles prospective OMOP-derived Table 1 distributions and counts against an existing source Table 1.
Usage
validate_table1_reconciliation(
omop_table1,
source_table1,
tolerance = 0.05,
count_tolerance = 0.01
)Arguments
- omop_table1
Prospective Table 1 (data.frame, list from
generate_table1, or CSV path).- source_table1
Baseline Table 1 (data.frame, list, or CSV path).
- tolerance
Relative drift threshold for feature distributions (default 0.05 = 5%).
- count_tolerance
Relative discrepancy threshold for patient counts (default 0.01 = 1%).