[R] contrast matrix in package multcomp

Torsten Hothorn Torsten.Hothorn at rzmail.uni-erlangen.de
Tue Jul 23 16:53:47 CEST 2002


> Hi,
> 
> I've got a problem building a contrast matrix for the Dunnet contrast in
> package multcopm. 

<snip>

> > summary(simtest(adiff ~ trial, cmatrix=C))
> Error in simtest.formula(adiff ~ trial, cmatrix = C) :
>  dimensions of x and cmatrix do not match
> 

difficulties like that should now be fixed in multcomp_0.3-0 (on CRAN). We
re-wrote the code for the formula interface which is now able to deal with
any configuration of covariables, see ?simtest for some examples. 

Additionally, the factor levels are now printed in the summary and print
methods. Many thanks to Martin Maechler for very helpful comments!

Torsten

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list