[R-sig-ME] xtable question

Douglas Bates bates at stat.wisc.edu
Thu Dec 11 23:53:57 CET 2008

On Thu, Dec 11, 2008 at 4:25 PM, Kris Jamsen <kmjamsen at unimelb.edu.au> wrote:
> Thanks Hank for your quick reply.  Yes, I tried to coerce my nlme object
> into a data.frame object but xtable told me I couldn't do that.  The
> nlme object is just an nlme model, so I would imagine it would be
> similar in nature to an lm object, but with a few more bits.  It looks
> like I might have to try to extend the list of available classes in
> xtable (this might take some time!) or do something more manual.  Would
> be glad to hear more suggestions!

An nlme object is not just an extension of an lm object.  There is a
lot more going on in nlme or lme than is the case in lm.

I expect that in creating a table from such an object you want the
table of estimates of the fixed-effects parameters, their approximate
standard errors and so on displayed as a table.  To get that table you
apply summary to the fitted model and save the result.  There is a
component of that object with a name like ttable which is the table of
fixed-effects estimates, etc.  Use


to find the exact name and format.

More information about the R-sig-mixed-models mailing list