# \donttest{
data(colcancer)
c100 <- colcancer[1:100,]
#mode regression
reg <- modreg(Surv(logfollowup, death) ~ sex + LNE, data = c100)
#expectile regression
fit_exp <- expectreg.aft(Surv(logfollowup, death) ~ LNE, data = c100,smooth="f")
fit_expipc <- expectreg.ipc(Surv(logfollowup, death) ~ sex + LNE, data = c100)
#quantile regression
qu1 <- qureg.aft(Surv(logfollowup, death) ~ sex + LNE, data=c100, smooth="fixed")
# }
Run the code above in your browser using DataLab