<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Caros colegas<br>
    Estou fazendo uma análise de um experimento DIC com arranjo fatorial
    (Gest e Manej). A resposta medida é o peso vivo. A análise de
    variância mostrou que há efeito de interação entre os dois fatores
    avaliados. Eu gostaria de saber onde está esta diferenças. A minha
    dúvida é o seguinte como fazer a matrix de contrastes para a
    interação? estou utilizando o pacote doBy. <br>
    <br>
    A outra dúvida é a seguinte: o R utiliza como padrão o contraste
    tratamento o qual compara todos os tratamento como o grupo controle(
    em meu caso Gest=0 e Manej=1) como faço para alterar esta forma de
    contraste, para um que compare todos os tratamentos entre si ? <br>
    <br>
    <span class="Apple-style-span" style="border-collapse: separate;
      color: rgb(0, 0, 0); font-family: DotumChe; font-size: 13px;
      font-style: normal; font-variant: normal; font-weight: normal;
      letter-spacing: normal; line-height: 15px; orphans: 2; text-align:
      -webkit-left; text-indent: 0px; text-transform: none; white-space:
      pre-wrap; widows: 2; word-spacing: 0px;
      -webkit-border-horizontal-spacing: 0px;
      -webkit-border-vertical-spacing: 0px;
      -webkit-text-decorations-in-effect: none;
      -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
      background-color: rgb(225, 226, 229); ">
      <pre tabindex="0" class="GDXA2EVBEAB" style="font-family: DotumChe; font-size: 10pt !important; outline-style: none; outline-width: initial; outline-color: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; white-space: pre-wrap !important; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 1.2; "><span class="GDXA2EVBHAB ace_keyword" style="white-space: pre; color: rgb(127, 0, 85); ">> </span><span class="GDXA2EVBL5 ace_keyword" style="color: rgb(127, 0, 85); ">dput(abate[,1:5])
</span>structure(list(Animal = c(1L, 2L, 3L, 4L, 5L, 7L, 8L, 9L, 12L, 
14L, 15L, 17L, 18L, 19L, 21L, 22L, 23L, 25L, 26L, 28L, 30L, 32L, 
34L, 35L, 37L, 38L, 39L, 40L, 41L, 42L, 43L, 44L, 46L, 47L, 48L, 
49L, 50L, 53L, NA, NA), Gest = structure(c(4L, 2L, 3L, 2L, 2L, 
4L, 3L, 4L, 2L, 2L, 3L, 4L, 1L, 4L, 2L, 1L, 4L, 1L, 2L, 4L, 3L, 
3L, 1L, 4L, 3L, 1L, 2L, 3L, 1L, 1L, 3L, 1L, 2L, 3L, 1L, 2L, 1L, 
1L, NA, NA), .Label = c("0", "100", "130", "140"), class = "factor"), 
    Manej = structure(c(1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 1L, 1L, 
    2L, 1L, 2L, 2L, 2L, 2L, 1L, 1L, 2L, 1L, 2L, 1L, 2L, 2L, 1L, 
    1L, 1L, 2L, 2L, 1L, 1L, 2L, 1L, 1L, 2L, 2L, 1L, 1L, NA, NA
    ), .Label = c("1", "2"), class = "factor"), rep = c(2L, 3L, 
    1L, 2L, 4L, 3L, 1L, 2L, 2L, 5L, 4L, 3L, 1L, 4L, 1L, 2L, 4L, 
    4L, 3L, 1L, 3L, 5L, 6L, 1L, 2L, 5L, 1L, 2L, 4L, 3L, 3L, 3L, 
    4L, 4L, 5L, 5L, 1L, 2L, NA, NA), PV = c(49000L, 40800L, 51800L, 
    41900L, 35000L, 40500L, 35400L, 42300L, 36600L, 36600L, 38400L, 
    46400L, 26900L, 50200L, 35500L, 35500L, 48400L, 40500L, 32500L, 
    42800L, 36500L, 50000L, 31200L, 33500L, 46500L, 40900L, 36500L, 
    31200L, 31500L, 35500L, 38700L, 30000L, 37900L, 42700L, 35500L, 
    42000L, 34500L, 36700L, NA, NA)), .Names = c("Animal", "Gest", 
"Manej", "rep", "PV"), class = "data.frame", row.names = c(NA, 
-40L))

abate$Gest<-factor(abate$Gest)
abate$Manej<-factor(abate$Manej)
C<-lm(PV~Gest*Manej,abate)
Anova(C,type="III")

</pre>
    </span><br>
    <pre class="moz-signature" cols="72">-- 
Fernando Antônio de Souza
Zootecnista, Msc. Nutricão Animal, UFMG
lattes: <a class="moz-txt-link-freetext" href="http://lattes.cnpq.br/6519538815038307">http://lattes.cnpq.br/6519538815038307</a> 
</pre>
  </body>
</html>