<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><DIV></DIV>
<DIV>Pergunta boba.</DIV>
<DIV>Vc carregou o pacote multcomp para fazer a análise?</DIV>
<DIV><BR> </DIV>
<DIV>João Peterson Pereira Gardin<BR>Pesquisador Epagri - Videira - SC<BR>Doutor em Fisiologia Vegetal<BR>Engenheiro Agrônomo<BR>Fones: (49) 3566-0054</DIV>
<DIV><BR></DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><BR>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"><FONT size=2 face=Tahoma>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">De:</SPAN></B> Thiago De paula protásio <depaulaprotasio@yahoo.com.br><BR><B><SPAN style="FONT-WEIGHT: bold">Para:</SPAN></B> r-br <r-br@listas.c3sl.ufpr.br><BR><B><SPAN style="FONT-WEIGHT: bold">Enviadas:</SPAN></B> Sábado, 4 de Junho de 2011 15:39:38<BR><B><SPAN style="FONT-WEIGHT: bold">Assunto:</SPAN></B> [R-br] Teste de Tukey! Experimento Desbalanceado! Erro.<BR></FONT><BR>
<TABLE border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD vAlign=top>Walmes; 
<DIV><BR></DIV>
<DIV>Desculpe incomodar novamente, mas não estou conseguindo obter as médias ajustadas.</DIV>
<DIV><BR></DIV>
<DIV>Veja o que está ocorrendo. Talvez, vc possa me ajudar!</DIV>
<DIV><BR></DIV>
<DIV>
<DIV>lapply(levels(da$Tratamento),</DIV>
<DIV>+        function(i){</DIV>
<DIV>+          contrast(m0, type="average", list(Tratamento=i, Bloco=levels(da$Bloco)))</DIV>
<DIV>+        }</DIV>
<DIV>+        )</DIV>
<DIV>list()</DIV>
<DIV><BR></DIV>
<DIV>> summary(glht(m0, linfct=mcp(Tratamento="Tukey")))</DIV>
<DIV>Erro em mcp2matrix(model, linfct = linfct) : </DIV>
<DIV>  Variable(s) ‘Tratamento’ of class ‘integer’ is/are not contained as a factor in ‘model’.</DIV>
<DIV><BR></DIV>Muito obrigado pela ajuda!</DIV>
<DIV><BR>Thiago de Paula Protásio<BR>Acadêmico de Engenharia Florestal<BR>Universidade Federal de Lavras<BR>Laboratório de Energia da Biomassa Florestal<BR>Laboratório de Biomateriais<BR>(035) 9183-2246</DIV></TD></TR></TBODY></TABLE></DIV></DIV></div></body></html>