This repository contains the R scripts to produce the analysis and descriptive statistics in DiViDInt.
- raw-to-td creates the dates and baseline files from the raw files
- raw-to-ad creates the file with the primary endpoint from the raw files
- descriptive is used to create descriptive tables at baseline
- primary-outcome-analysis contains the main and sensitivity analyses for the primary outcome (2-hour C-peptide AUC), as well as subgroup analyses
- safety_summary is used to produce tables on adverse events