Hello all, Quick question: I want to do posthoc contrasts for a linear mixed effects model. However, when trying to use the csimtest function in multcomp package I receive an error message saying it cannot find the function, even after installing and loading package multcomp. Any pointers would be greatly appreciated Daniel
Meyners, Michael, LAUSANNE, AppliedMathematics
2009-Dec-04 15:57 UTC
[R] csimtest function in multcomp package
Daniel, quick guess: There has been a major change in the package some time ago, with quite a few functions vanishing and others added. So I guess your "recycled" code was based on an older version of multcomp. My current version (1.1-0) does not have csimtest anymore either. I guess you want to look into ?glht in the same package, and check the archives to find out more about the changes (and yes, you will have to modify your code to some extent, at least so had I, it's not just replacing the function name). HTH, Michael> -----Original Message----- > From: r-help-bounces at r-project.org > [mailto:r-help-bounces at r-project.org] On Behalf Of > d.m.perkins at qmul.ac.uk > Sent: Freitag, 4. Dezember 2009 16:47 > To: r-help at r-project.org > Subject: [R] csimtest function in multcomp package > > Hello all, > > Quick question: I want to do posthoc contrasts for a linear > mixed effects model. However, when trying to use the csimtest > function in multcomp package I receive an error message > saying it cannot find the function, even after installing and > loading package multcomp. > > Any pointers would be greatly appreciated > > Daniel > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
On Fri, 4 Dec 2009, d.m.perkins at qmul.ac.uk wrote:> Hello all, > > Quick question: I want to do posthoc contrasts for a linear mixed effects > model. However, when trying to use the csimtest function in multcomp package > I receive an error message saying it cannot find the function, even after > installing and loading package multcomp. > > Any pointers would be greatly appreciatedThe function is not part of the package interface anymore. The interface was generalized and streamlined compared to earlier versions. The the package vignettes for the current version. hth, Z> Daniel > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >