# Early outcomes at 3, 6 and 12 months, and final at 24 months
# Standardized to units of 3 months if tref is c(1,2)
tfuStandard(c(3,6,12,24), tref=c(1,2))
# Standardized to yearly units if tref is c(1,2)
tfuStandard(c(3,6,12,24), tref=c(3,4))
Run the code above in your browser using DataLab