powered by
This (generic) function prints the LaTeX code of the results of a fit from coxreg, phreg, tpchreg, or aftreg.
coxreg
phreg
tpchreg
aftreg
ltx2( x, caption = NULL, label = NULL, dr = NULL, digits = max(options()$digits - 4, 4), conf = 0.95, keep = NULL, ... )
LaTeX code version of the results from a run with coxreg, phreg, phreg, aftreg.
The output from a call to coxreg, tpchreg, or aftreg
A suitable caption for the table.
A label used in the LaTeX code.
Output from a drop1 call.
drop1
Number of digits to be printed.
Confidence intervals level.
Number of covariates to present.
Not used.
Göran Broström.
xtable, coxreg, phreg, phreg, aftreg, and ltx.
xtable
ltx
data(oldmort) fit <- coxreg(Surv(enter, exit, event) ~ sex, data = oldmort) ltx2(fit, caption = "A test example.", label = "tab:test1")
Run the code above in your browser using DataLab