<div>Boa noite, estou tentando fazer a Anova e o teste Sk porém no fim ele gera um erro, alguém faz ideia do que seja?</div><div>#ANAVA#</div><div>mDAP <- aov(DAP~Bloco+Trat, data=dados)</div><div>class(mDAP)</div><div>
anova(mDAP)</div><div>summary(mDAP)</div><div>summary.lm(mDAP)</div><div>#TESTE DE NORMALIDADE#</div><div>shapiro.test(dados$DAP)</div><div>shapiro.test(residuals(mDAP))</div><div>library(ScottKnott)</div><div>#TESTE SCOTT-KNOTT#</div>
<div>as.factor(dados$Bloco)</div><div>as.factor(dados$Trat)</div><div>sk.DAP=SK(x=dados, y=dados$DAP, model="dados$DAP~dados$Bloco+dados$Trat",which="dados$Trat",sig.level=0.05)</div><div>summary(sk.DAP)</div>
<div><span class="Apple-style-span" style="border-collapse:separate;font-family:Arial;font-size:medium"><span class="Apple-style-span" style="font-family:'Lucida Console';font-size:13px;line-height:15px;text-align:-webkit-left;white-space:pre-wrap"><pre tabindex="0" class="GJWPQFQDK4" style="font-family:'Lucida Console';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-bottom:0px;line-height:1.2">
<span class="GJWPQFQDF4">Erro em SK.aov(x = av, which = which, id.trim = id.trim, sig.level = sig.level) :
No factors in the fitted model!
</span><span class="GJWPQFQDF4">Além disso: </span><span class="GJWPQFQDF4">Mensagens de aviso perdidas:
</span><span class="GJWPQFQDF4">1: In replications(paste("~", xx), data = mf) :
non-factors ignored: dados$Bloco
</span><span class="GJWPQFQDF4">2: In replications(paste("~", xx), data = mf) :
non-factors ignored: dados$Trat</span></pre></span></span></div><div><br></div>-- <br><div style="text-align:center"><div style="text-align:left"><b>Kalill José Viana da Páscoa</b></div><div style="text-align:left"><b>Engenheiro Florestal </b></div>
<div style="text-align:left"><b style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;background-color:rgb(255,255,255)"><span style="font-family:arial,helvetica,sans-serif">Mestrando em Engenharia Florestal<br>
Universidade Federal de Lavras</span></b></div><div style="text-align:left"><b style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;text-align:-webkit-auto;background-color:rgb(255,255,255)"><span style="font-family:arial,helvetica,sans-serif"><br>
</span></b></div><div style="text-align:left"><b>Rua Geraldo dos Passos, 81 </b></div><div style="text-align:left"><b>Água Limpa, </b><b>Lavras-MG</b></div><div style="text-align:left"><b>CEP: 37200-000</b></div><div style="text-align:left">
<b>(35)3821-6833</b></div><div style="text-align:left"><b>(35)9152-4828</b></div><div style="text-align:left"><b>(35)9928-6574</b></div></div><br>