Skip to content
Prev 210862 / 398500 Next

Print table in lme

On Sat, Feb 20, 2010 at 4:28 AM, Dieter Menne
<dieter.menne at menne-biomed.de> wrote:
Thanks, Dieter.  If lmemod is a fitted lme model then, as Dieter
indicates, you want

summary(lmemod)$tTable

and, for xtable you can create the xtable object as

xtable(summary(lmemod)$tTable)

For most other model fitting functions the sequence

coef(summary(mymodel))

works.  Unfortunately, in the nlme package we assigned another meaning
to the coef method.  In retrospect that wasn't the best idea.

The coef(summary(foo)) sequence does work for models fit by the lmer
function in the lme4 package.  In fact, I was just in communication
with David Dahl, the author of xtable, and I beleive he will add a
method to the xtable package.