[S] Problems with multicomp

Michael Conklin (mconklin_1@cresearch.com)
Wed, 25 Mar 1998 14:22:02 -0600


I am trying to run a simple one-way multiple comparisons test. I follow the example with the fuel.frame

# all-pairwise comparisons in a one-way anova via the Tukey-Kramer method.
lm.fuel <- lm(Fuel~Type, data=fuel.frame)
mc.fuel <- multicomp(lm.fuel)
print(mc.fuel)
plot(mc.fuel)

and everything works fine. I then create a frame for my 5 groups using
make.groups so I now have a data frame with two components named data
and which.

Then I try.

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

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

Everything in my testlm and in lm.fuel look comparable in terms of
attributes, names etc. I am sure I am missing something simple
here. Please advise.

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