[R] Split Plot and Tukey

Gabriela Cendoya gcendoya at balcarce.inta.gov.ar
Wed Feb 17 15:00:39 CET 2010


Hi:
this should work, (but you don't specify what is "ganhos" but I'm guessing 
is the right object...)

anava = aov(ganhos ~ Blocos + Trat*Supl +
Error(Blocos/Trat))
df<-summary(anava)[[2]][[1]][2,1]
MSerror <- summary(anava)[[2]][[1]][2,3]
HSD.test(ganhos, Trat, df , MSerror, alpha = 0.05)

Gabriela

______________________________
Lic. María Gabriela Cendoya
Magíster en Biometría
Profesor Adjunto
Cátedra de Estadística y Diseño
Facultad de Ciencias Agrarias
Universidad Nacional de Mar del Plata
______________________________



----- Original Message ----- 
From: "Silvano" <silvano at uel.br>
To: <r-help at r-project.org>
Sent: Wednesday, February 17, 2010 9:15 AM
Subject: [R] Split Plot and Tukey


Hi,

I did the analysis of variance of a split-plot and the
effect of treatment was significant.
I would like compare treatment means using Tukey.
I can't extract the mean square to apply HSD.test to use in
agricolae package.

anava = aov(ganhos ~ Blocos + Trat*Supl +
Error(Blocos/Trat))
names(anava)
summary(anava)

require(agricolae)
HSD.test(ganhos, Trat, df, MSerror, alpha = 0.05)

Thanks

--------------------------------------
Silvano Cesar da Costa
Departamento de Estatística
Universidade Estadual de Londrina
Fone: 3371-4346

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

___________________________________________________________________________

Aviso:
=====

El contenido del presente e-mail y sus posibles adjuntos pertenecen al INTA y pueden contener información confidencial. Si usted no es el destinatario original de este mensaje y por este medio pudo acceder a dicha información, por favor solicitamos contactar al remitente y eliminar el mensaje de inmediato. Se encuentra prohibida la divulgación, copia, distribución o cualquier otro uso de la información contenida en el presente e-mail por parte de personas distintas al destinatario. 


This e-mail contents and its possible attachments belong to INTA and may contain confidential information. If this message was not originally addressed to you, but you have accessed to such information by this means, please contact the sender and eliminate this message immediately. Circulation, copy, distribution, or any other use of the information contained in this e-mail is not allowed on part of those different from the addressee.


Antes de imprimir este mensaje, asegúrese de que sea necesario. Proteger el medio ambiente está también en su mano.



More information about the R-help mailing list