Data and code for time-to-event analyses
-(1) transition from exclusive breastfeeding to complementary feeding
-(2) transition from complementary feeding to weaned
Data sets:
-QomTTCF.dat.csv: time-to-complementary feeding data
-QomTTWean.dat.csv: time-to-weaning data
R scripts:
-QomBF_BaseHazard.R: code for time-to-event base hazard function screening
-QomBF_TTEAnalysis.R: code for time-to-event models with gestational covariates