This (generic) function prints the LaTeX code of the results of a fit from
coxreg, phreg, or aftreg,
similar to what xtable does for fits from
other functions.
# NOT RUN {data(oldmort)
fit <- coxreg(Surv(enter, exit, event) ~ civ + sex, data = oldmort)
dr <- drop1(fit, test = "Chisq")
ltx(fit, dr = dr, caption = "A test example.", label = "tab:test1")
# }