Re: [R] lme, fixed and random

From: Spencer Graves <spencer.graves_at_pdf.com>
Date: Mon 15 Aug 2005 - 12:31:28 EST

lme(logratio ~ range + I(range^2), random=~1|fmla, data=data.frame.contianing.range.and.fmla)

spencer graves
p.s. I highly recommend Pinheiro and Bates (2000) Mixed-Effects Models in S and S-Plus (Springer).

Erin Hodgess wrote:

> Dear R People:
>
> I need to set up an lme. I have logratio as my response var,
> range, and I(range^2) as the fixed variables.
>
> The random effects vars are xa1 through xa24.
>
> How do I set up the lme statement, please?
>
> I tried with
> lme(logratio ~ range + I(range^2), random=fmla)
>
> is an as.formula statement with the xa1 throught xa24 var with a leading
>
> Any suggestions, please
>
>
> Thanks,
> Erin Hodgess
> mailto: hodgess@gator.uhd.edu
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

-- 
Spencer Graves, PhD
Senior Development Engineer
PDF Solutions, Inc.
333 West San Carlos Street Suite 700
San Jose, CA 95110, USA

spencer.graves@pdf.com
www.pdf.com <http://www.pdf.com>
Tel:  408-938-4420
Fax: 408-280-7915

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Mon Aug 15 12:40:18 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:19:44 EST