<div>Pessoal disculpa só agora que consegui conectar na internet</div><div> </div><div>Walmes, é assim tenho 4 substratos, 5 cultivares e cada rep (repetiçao) é considerado um bloco (não sei se é o caso da anaova erro tipo III) e muitas outras variaveis que também apresentam NA (exemplo de dados embaixo do texto).</div>
<div> </div><div>Eu estou tentando trabalhar assim, </div><div> </div><div><font color="#ff0000">dados<-read.table("estatistica.txt", header=TRUE)<br>dados<br>library(car)<br>dados$rep<-as.factor(dados$rep)</font></div>
<div><font color="#ff0000">modelo <- lm(ptf ~ subst+cult+rep+subst:cult, data=dados, contrasts = list(subst=contr.sum, cult=contr.sum, rep=contr.sum))<br>Anova(modelo, type="III")</font></div><div> </div><div>
Até o momento eu consigo rodar os dados de este jeito, mas se eu quero rodar os dados como segue me baixo não consigo</div><div> </div><div>anova <- lm(PTF~SUBST+CULT+REPET+SUBST:CULT, data=dados)</div><div> </div><div>
Edson, não encontrei nada sobre ?complete.case.<br></div><div>Obrigados<br></div><div> </div><div><table style="width: 215pt; border-collapse: collapse;" border="0" cellspacing="0" cellpadding="0" width="287">
<colgroup><col style="width: 48pt;" width="64">
<col style="width: 60pt; mso-width-source: userset; mso-width-alt: 2925;" width="80">
<col style="width: 48pt;" width="64">
<col style="width: 59pt; mso-width-source: userset; mso-width-alt: 2889;" width="79">
<tbody><tr style="height: 14.25pt;" height="19">
<td style="border: 0px windowtext; width: 48pt; height: 14.25pt; background-color: transparent;" class="xl63" height="19" width="64">subst</td>
<td style="border: 0px windowtext; width: 60pt; background-color: transparent;" class="xl63" width="80">cult</td>
<td style="border: 0px windowtext; width: 48pt; background-color: transparent;" class="xl63" width="64">rep</td>
<td style="border-width: 0.5pt 0px 0px; border-style: solid none none; border-color: windowtext; width: 59pt; background-color: transparent;" class="xl65" width="79">pesofresco</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">setcopa</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">9218,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">setcopa</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">18343,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">setcopa</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">26750,00</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">setcopa</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">12450,00</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">olympo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">7281,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">olympo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">30281,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">olympo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">62468,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">olympo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">27906,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">fasinio</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">2531,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">fasinio</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">23643,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">fasinio</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">29062,50</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">fasinio</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">74968,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">duradouro</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">22312,50</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">duradouro</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">35593,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">duradouro</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">87062,50</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">duradouro</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">47156,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">debora</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">22218,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">debora</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">48000,00</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">debora</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">40406,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">coco</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">debora</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">19312,50</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">setcopa</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">63093,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">setcopa</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">17406,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">setcopa</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">50187,50</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">setcopa</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">29281,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">olympo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">59406,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">olympo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">44281,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">olympo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">49437,50</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">olympo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">42156,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">fasinio</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">61406,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">fasinio</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">55375,00</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">fasinio</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">6250,00</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">fasinio</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">48812,50</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">duradouro</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">37281,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">duradouro</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">9406,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">duradouro</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">75187,50</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">duradouro</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">58687,50</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">debora</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">24250,00</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">debora</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">32750,00</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">debora</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">36843,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">gado</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">debora</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">35218,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">setcopa</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">6125,00</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">setcopa</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66"> NA</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">setcopa</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">29562,50</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">setcopa</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">70375,00</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">olympo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">37812,50</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">olympo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66"> NA</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">olympo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">11062,50</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">olympo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">48906,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">fasinio</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">81718,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">fasinio</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66"> NA</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">fasinio</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66"> NA</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">fasinio</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">72375,00</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">duradouro</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">9531,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">duradouro</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66"> NA</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">duradouro</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">29812,50</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">duradouro</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">66343,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">debora</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">39156,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">debora</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66"> NA</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">debora</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">8625,00</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">carvão</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">debora</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">66781,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">setcopa</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">17656,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">setcopa</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">34218,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">setcopa</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">11343,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">setcopa</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">31718,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">olympo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">35906,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">olympo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">61468,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">olympo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">38750,00</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">olympo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">42218,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">fasinio</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">19750,00</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">fasinio</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">51468,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">fasinio</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">60156,25</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">fasinio</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">17687,50</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">duradouro</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">63937,50</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">duradouro</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">32000,00</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">duradouro</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">21437,50</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">duradouro</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">28500,00</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">debora</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">1</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">26593,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">debora</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">2</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">32968,75</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">debora</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">3</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">18687,50</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="border: 0px windowtext; height: 15pt; background-color: transparent;" class="xl64" height="20">solo</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl64">debora</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl67" align="right">4</td>
<td style="border: 0px windowtext; background-color: transparent;" class="xl66" align="right">26312,50</td>
</tr>
</tbody></colgroup></table><br><br></div><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Gilson Sanchez</b> <span dir="ltr"><<a href="mailto:gilsonsch@gmail.com">gilsonsch@gmail.com</a>></span><br>
Date: 2011/4/30<br>Subject: como trabalhar os dados desbalanceados no R<br>To: Grupo R-Br <<a href="mailto:r-br@listas.c3sl.ufpr.br">r-br@listas.c3sl.ufpr.br</a>><br><br><br><br><div class="gmail_quote"><div>Pessoal,</div>
<div> </div><div>mais uma vez consultando vc's</div><div>tenho um amigo que esta avaliando 4 substratos, 5 cultivares e 4 repetições e muitas variáves de estudo.</div><div>
então dentro das avaliações ele perdeu alguns dados, no SAS esses dados perdidos são inseridos como ponto (.) no R são inseridos como NA, mas quando eu tento fazer uma anova eu não consigo, sai erro, então como eu posso trabalhar com esses tipos de dados</div>
<div> </div><div>dados<-read.table("dados.estatistica.txt", header=TRUE)<br>dados<br>attach(dados)<br>anova <- lm(PTF~SUBST+CULT+REPET+SUBST:CULT, data=dados)<br></div><div>> anova <- lm(PTF~SUBST+CULT+REPET+SUBST:CULT, data=dados.y)<br>
Erro em storage.mode(y) <- "double" : <br> inválido mudar o modo de armazenamento de um fator<br>Além disso: Mensagens de aviso perdidas:<br>In model.response(mf, "numeric") :<br> usando type="numeric" com um fator resposta será ignorada<br>
</div><div>outro, eu utlizaria o erro tipo III na anova?<br clear="all"><br>-- <br></div><div>MSc. Gilson Sánchez Chia<br></div>
<p style="margin: 0cm 0cm 0pt;"><font size="3" face="Calibri">Laboratório de Fisiologia Vegetal</font></p>
<p style="margin: 0cm 0cm 0pt;"><font size="3" face="Calibri">Embrapa Amazônia Ocidental</font></p>
<p style="margin: 0cm 0cm 0pt;"><font size="3" face="Calibri">Fone: (92) 3303-7841</font></p>
<div>---<br><font color="#000099">Antes de imprimir, pense na sua responsabilidade com o Meio Ambiente.</font></div>
<div><span lang="en-us"><font color="#000099" face="arial,helvetica,sans-serif">Please consider the environment before printing this email.</font></span></div>
<div><span lang="en-us">
<div><span lang="en-us"><font color="#000099"><font face="arial,helvetica,sans-serif">Renew, Reduce and Recycle. The Planet Knows.</font></font></span></div></span></div></div>
</div><br><br clear="all"><br>-- <br><div>MSc. Gilson Sánchez Chia<br></div>
<p style="margin: 0cm 0cm 0pt;"><font size="3" face="Calibri">Laboratório de Fisiologia Vegetal</font></p>
<p style="margin: 0cm 0cm 0pt;"><font size="3" face="Calibri">Embrapa Amazônia Ocidental</font></p>
<p style="margin: 0cm 0cm 0pt;"><font size="3" face="Calibri">Fone: (92) 3303-7841</font></p>
<div>---<br><font color="#000099">Antes de imprimir, pense na sua responsabilidade com o Meio Ambiente.</font></div>
<div><span lang="en-us"><font color="#000099" face="arial,helvetica,sans-serif">Please consider the environment before printing this email.</font></span></div>
<div><span lang="en-us">
<div><span lang="en-us"><font color="#000099"><font face="arial,helvetica,sans-serif">Renew, Reduce and Recycle. The Planet Knows.</font></font></span></div></span></div><br>