# Utilities for Validation of Clinical Trial 'SDTM', 'ADaM' and 'TFL' Outputs

## Documentation for package ‘StatsTFLValR’ version 1.0.0

- DESCRIPTION file.

## Help Pages

ATCbyDrug | Fully Nested ATC2 → ATC4 → Drug (CMDECOD) Table by Treatment (wide)
freq_by | Frequency Table by Group (wide): n (%) with flexible ordering and formats
freq_by_line | One-Line Frequency Summary by Treatment Group
generate_compare_report | Compare DEV vs VAL datasets (PROC COMPARE-style) with robust file detection
get_column_info | Extract Column Metadata from a Data Frame
get_data | Load Data Files of Various Formats
mean_by | Summary Table: Mean and Related Statistics by Group
sas_round | SAS-Compatible Rounding
SOCbyPT | SOC → PT summary by treatment (wide), with optional BY-grouping, SOC totals, UNCODED positioning, BY-specific Big-N, and optional Big-N printing
SOCbyPT_Grade | SOC → PT summary by treatment with Grade split (wide)