<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Prezados,<br><br>Estou tentando realizar uma análise de variância para um experimentos em parcelas subdivididas em DIC, mas, apesar de ser gerado um resultado, aparece uma mensagem de erro. Quando tento realizar o cálculo dos resíduos também dá erro e, consequentemente, não consigo fazer o teste de normalidade. Alguém pode me ajudar? Vejam como realizei as análises e os seus resultados:<br><pre tabindex="0" class="GCWXI2KCJKB" id="rstudio_console_output" style="font-family: 'Lucida Console'; font-size: 16pt !important; outline: none; border: none; word-break: break-all; margin: 0px; -webkit-user-select: text; white-space: pre-wrap !important; line-height: 25px; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: -webkit-left; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><font style="font-size: 10pt;" size="2"><span class="GCWXI2KCPJB ace_keyword" style="color: blue;"><font style="" color="#000000">#ANOVA:</font><br>> mod<-aov(PS[,4]~PS[,1]*PS[,2]+Error(PS[,1]:PS[,3]));summary(mod)
</span></font><font style="font-size: 10pt;" size="2"><span class="GCWXI2KCDKB  ace_constant" style="color: rgb(197, 6, 11);">Warning message:
</span></font><font style="font-size: 10pt;" size="2"><span class="GCWXI2KCDKB  ace_constant" style="color: rgb(197, 6, 11);">In aov(PS[, 4] ~ PS[, 1] * PS[, 2] + Error(PS[, 1]:PS[, 3])) :</span></font><font style="font-size: 10pt;" size="2"><span class="GCWXI2KCDKB  ace_constant" style="color: rgb(197, 6, 11);">
 </span></font><font style="font-size: 10pt;" size="2"><span class="GCWXI2KCDKB  ace_constant" style="color: rgb(197, 6, 11);"> modelo Error() é singular
</span></font><font style="font-size: 10pt;" size="2">
Error: PS[, 1]:PS[, 3]
          Df Sum Sq Mean Sq F value Pr(>F)  
PS[, 1]    1    8.1   8.100    11.3 0.0152 *
Residuals  6    4.3   0.717                 
---
Signif. codes:  
0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Error: Within
                Df Sum Sq Mean Sq F value   Pr(>F)    
PS[, 2]          4  108.9   27.23   24.94 3.02e-08 ***
PS[, 1]:PS[, 2]  4  496.9  124.23  113.79 3.09e-15 ***
Residuals       24   26.2    1.09                     
---
Signif. codes:  
0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1</font></pre>#Resíduos:<br><pre tabindex="0" class="GCWXI2KCJKB" id="rstudio_console_output" style="font-family: 'Lucida Console'; font-size: 16pt !important; outline: none; border: none; word-break: break-all; margin: 0px; -webkit-user-select: text; white-space: pre-wrap !important; line-height: 25px; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: -webkit-left; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><font style="font-size: 10pt;" size="2"><span class="GCWXI2KCPKB ace_keyword" style="color: blue; white-space: pre; -webkit-user-select: text;">> </span></font><font style="font-size: 10pt;" size="2"><span class="GCWXI2KCPJB ace_keyword" style="color: blue;">residuals(mod)
</span></font><font style="font-size: 10pt;" size="2">NULL<br>#Teste de Shapiro-Wilk:<br></font><font style="font-size: 10pt;" size="2"><span class="GCWXI2KCPKB ace_keyword" style="color: blue; white-space: pre; -webkit-user-select: text;">> </span></font><font style="font-size: 10pt;" size="2"><span class="GCWXI2KCPJB ace_keyword" style="color: blue;">res<-residuals(mod)
</span></font><font style="font-size: 10pt;" size="2"><span class="GCWXI2KCPKB ace_keyword" style="color: blue; white-space: pre; -webkit-user-select: text;">> </span></font><font style="font-size: 10pt;" size="2"><span class="GCWXI2KCPJB ace_keyword" style="color: blue;">shapiro.test(res)
</span></font><font style="font-size: 10pt;" size="2"><span class="GCWXI2KCDKB  ace_constant" style="color: rgb(197, 6, 11);">Error: is.numeric(x) is not TRUE</span></font><br></pre><br>Obrigada.<br>Att.,<br>Angélica.<br><br>                                           </div></body>
</html>