Re: [R] Re : Regarding lme functions

From: Dieter Menne <dieter.menne_at_menne-biomed.de>
Date: Tue, 11 Nov 2008 07:20:03 +0000 (UTC)

ratna ghosal <ratnaghosal <at> yahoo.com> writes:

> But then how to interpret the rows and columns........

When lost, use str:

library(nlme)
fm1Orth.lme = lme(distance ~ I(age-11), data = Orthodont,

                     random = ~ I(age-11) | Subject)
ints = intervals(fm1Orth.lme)
str(ints)
# $ fixed   : num [1:2, 1:3] 23.168 0.518 24.023 0.66 24.878 ...
#  ..- attr(*, "dimnames")=List of 2
# Estimate of slope 

ints$fixed[2,2]

Dieter



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 11 Nov 2008 - 07:26:43 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 11 Nov 2008 - 08:30:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive