[R] Multiple comparisons when interacction

From: Jorge Lampurlanes Castel <jlampur_at_eagrof.UdL.es>
Date: Mon 29 Jan 2007 - 17:58:36 GMT

In the model:

  lm.1 <- lm(variable ~ BLOC + TIL * YEAR , data=selvanera)

I found TIL*YEAR interaction significant. Then I am trying to compare means of the different levels of TIL inside every YEAR using:

  mc.2 <- glht(lm.1, linfct = mcp(TIL*YEAR="Tukey"))   summary(mc.2, test = univariate())

but it does not work.

There is any way of doing this, like the SLICE option in PROC GLM (SAS)?

Thanks a lot,


Jorge Lampurlanés Castel
Departament d'Enginyeria Agroforestal
Escola Tècnica Superior d'Enginyeria Agrària
Universitat de Lleida
Avinguda Rovira Roure, 191

Tl.: +34 973 70 25 37
Fax.:+34 073 70 26 73
e-mail: jlampur@eagrof.udl.es

R-help@stat.math.ethz.ch mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Tue Jan 30 05:05:31 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 29 Jan 2007 - 18:30:43 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.