s-news
[Top] [All Lists]

[S]Multicomp summary

To: "S-News List" <s-news@wubios.wustl.edu>
Subject: [S]Multicomp summary
From: "Michael Conklin" <mconklin_1@cresearch.com>
Date: Thu, 26 Mar 1998 12:44:40 -0600
Sender: owner-s-news@wubios.wustl.edu
I have solved the problem I asked about yesterday.
It turns out that although the help file for make.groups says that it creates a 
factor for the which variable - it does not do so.  So while

 testlm<-lm(data~which,data=shapgroups)
 multicomp(testlm)

does not work and I get the following error:

Error in rbind(tlmat, hold): Number of columns of matric
es and lengths of names vectors must match (see arg 2)
Dumped

If I make the following modification:

testlm<-lm(data~factor(which),data=shapgroups)
 multicomp(testlm)

everything works fine.


Michael Conklin
mconklin@cresearch.com 



-----------------------------------------------------------------------
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

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