[18999] in s-news-athena
[S] A simple question, resolved simply (and quickly) by some very kin
daemon@ATHENA.MIT.EDU (Sorkin, John)
Sat Aug 21 23:40:41 1999
Message-Id: <C5BE6D142223D211909E0000F8CD228AF68ECF@c3.grc.nia.nih.gov>
From: "Sorkin, John" <SorkinJ@grc.nia.nih.gov>
To: "'s-news@wubios.wustl.edu'" <s-news@wubios.wustl.edu>
Cc: "'Douglas Bates'" <bates@stat.wisc.edu>,
"'Venables, Bill (CMIS, Cleveland)'" <Bill.Venables@cmis.CSIRO.AU>,
"'johns@vax.grc.nia.nih.gov'" <johns@vax.grc.nia.nih.gov>
Date: Sat, 21 Aug 1999 23:36:20 -0400
Mime-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Many thanks to Bill Venables and Douglas Bates who responded almost immediately
to my question.
Professor Venables pointed out that I left out an equal sign.
I entered:
Monk.fit1<-lme(fixed=GLOBULIN~AGE,
+ data=Monkey,random~AGE|ID)
and received the following message:
Error in lme.formula(fixed = GLOBULIN ..: Length of vari
able 1 is 4 != length of row names (1765)
I should have entered an equal sign after random, i.e. random=~AGE|ID).
The full, and correct command would thus have been:
> Monk.fit1<-lme(fixed=GLOBULIN~AGE,
+ data=Monkey,random=~AGE|ID)
Again, I thank Professors Venables and Bates.
John Sorkin
johns@vax.grc.nia.nih.gov
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news