[R-sig-ME] xtable question
Kris Jamsen
kmjamsen at unimelb.edu.au
Thu Dec 11 23:25:03 CET 2008
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!
Cheers,
Kris
-----Original Message-----
From: Martin Henry H. Stevens [mailto:HStevens at muohio.edu]
Sent: Thursday, 11 December 2008 8:31 PM
To: Kris Jamsen
Cc: r-sig-mixed-models at r-project.org
Subject: Re: [R-sig-ME] xtable question
Hi Kris,
I don't know which kind of nlme object your are trying to use, but
can you coerce it to a data.frame? If you can't, then maybe the
object is not amenable to use in xtable. Is the object matrix-like or
dataframe-like?
Hank
On Dec 11, 2008, at 1:37 AM, Kris Jamsen wrote:
> Hi all,
>
>
>
> I am trying to use xtable with an nlme object, but it won't let
> me. The
> help menu says that I can extend the list of available classes by
> writing methods for the generic function xtable, but I don't know
> how to
> do this. Has anyone already done this?
>
>
>
> Cheers,
>
>
>
> Kris
>
>
>
> Kris Jamsen
>
> Research Fellow
>
> Centre for Molecular, Environmental,
>
> Genetic and Analytic (MEGA) Epidemiology
>
> Level 1, 723 Swanston St
>
> The University of Melbourne
>
> Victoria, 3010
>
> AUSTRALIA
>
>
>
> Email: kmjamsen at unimelb.edu.au <mailto:kmjamsen at unimelb.edu.au>
>
> Ph: +61 (0)3 8344 0700
>
> Fax: +61 (0)3 9349 5815
>
>
>
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
Dr. Hank Stevens, Associate Professor
338 Pearson Hall
Botany Department
Miami University
Oxford, OH 45056
Office: (513) 529-4206
Lab: (513) 529-4262
FAX: (513) 529-4243
http://www.cas.muohio.edu/~stevenmh/
http://www.users.muohio.edu/harkesae/
http://www.cas.muohio.edu/ecology
http://www.muohio.edu/botany/
"E Pluribus Unum"
"I love deadlines. I love the whooshing noise they make as they go by."
(Douglas Adams)
If you send an attachment, please try to send it in a format anyone
can read, such as PDF, text, Open Document Format, HTML, or RTF.
Why? See: http://www.gnu.org/philosophy/no-word-attachments.html
More information about the R-sig-mixed-models
mailing list