Olá pessoal.<br><br>Estou me batendo com comparacoes multiplas.<br><br>Carrego o pacote multicomp mas ao tentar utilizar a funcao simtest( ), o R diz que nao e' possivel encontrar a funcao. O que aconteceu com essa funcao?<br>
<br>Exemplo:<br><br><span style="font-family: courier new,monospace;">melon = data.frame(</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">        variety = rep(LETTERS[1:4],each=6),</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        yield = c(25.12,17.25,26.42,16.08,22.15,15.92,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">                  40.25,35.25,31.98,36.52,43.32,37.10,</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">                  18.30,22.60,25.90,15.05,11.42,23.68,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">                  28.55,28.05,33.20,31.68,30.32,27.58))</span><br>
<span style="font-family: courier new,monospace;">library(mvtnorm)<br>library(multcomp)<br>(melon.test = simtest(formula = yield ~ variety, data = melon,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">              type="Tukey",alternative="two.sided")</span>)<br clear="all">
<br>Agradeco se alguem puder ajudar.<br>-- <br>Edson Antonio Alves da Silva, Prof. Dr. <br><a href="mailto:edson.silva@unioeste.br" target="_blank">edson.silva@unioeste.br</a><br>Universidade Estadual do Oeste do Paraná<br>
Centro de Ciências Exatas e Tecnológicas - Sala 58<br>Fone/Ramal: (45) 3220-3150<br>Celular: (45) 9137 1956<br><a href="http://www.edsonsilva.cjb.net" target="_blank">http://www.edsonsilva.cjb.net</a><br>