[R] export glht to LaTeX

Winter, Jan-Christoph j.winter at tu-berlin.de
Sat Oct 12 15:33:29 CEST 2013


Hi,

I want to export the result of glht  in R into a LaTeX table, such as that result:

Linear Hypotheses:
                                           Estimate Std.     Error z value Pr(>|z|)    
Group1 - Group2 == 0   -0.14007    0.01589  -8.813   <0.001 "***"
Group1 - Group3 == 0    -0.09396    0.01575  -5.965   <0.001 ***
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
(Adjusted p values reported -- single-step method)

I'm aware of libraries like stargazer, xtable, texreg, reporttools, memisc and apsrtable, but none of them does the job for glht :(

Does anyone have any hints?

Thanks and best regards
Jan Winter


More information about the R-help mailing list