LaTeX printing of regression results.
ltx( x, caption = NULL, label = NULL, dr = NULL, digits = max(options()$digits - 4, 3), ... )
x |
The output from a call to |
caption |
A suitable caption for the table. |
label |
A label used in the LaTeX code. |
dr |
Output from a |
digits |
Number of digits to be printed. |
... |
Not used. |
The result is a printout which is (much) nicer than the standard printed
output from glm
and friends,
There is no method in xtable
for coxreg
and
friends.
Göran Broström.
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")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.