Skip to content
Back to formatted view

Raw Message

Message-ID: <42FFFE80.2050905@pdf.com>
Date: 2005-08-15T02:31:28Z
From: Spencer Graves
Subject: lme, fixed and random
In-Reply-To: <200508150129.j7F1TOvF022720@gator.dt.uh.edu>

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 at gator.uhd.edu
> 
> ______________________________________________
> R-help at 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 at pdf.com
www.pdf.com <http://www.pdf.com>
Tel:  408-938-4420
Fax: 408-280-7915