s-news
[Top] [All Lists]

Re: error removing intercept in lme

To: Michael Schmidt <Michael.Schmidt2@verizon.net>
Subject: Re: error removing intercept in lme
From: Sundar Dorai-Raj <sundar.dorai-raj@pdf.com>
Date: Mon, 20 Jan 2003 09:35:26 -0600
Cc: "'S-news'" <s-news@lists.biostat.wustl.edu>
Organization: PDF Solutions, Inc.
References: <002701c2bf17$f7f0c660$8f26fea9@sunxp>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
Hi Michael,

Michael Schmidt wrote:
Using the example on page 18 of "Mixed-Effects Models in S and S-Plus",
attempting to remove the intercept from the model produces the
subsequent error.

attach(ergoStool)
fm3Stool<-lme(effort ~ Type - 1, data=ergoStool, random=~1|subject)

Problem in lme.formula(effort ~ Type - 1, data = er..: Length of subject
(variable 3) is 24 != length of others (36)

Have I failed to do something??


You have `subject' misspelled. Try `Subject' instead. S-PLUS is case sensitive.

Regards,
Sundar



<Prev in Thread] Current Thread [Next in Thread>