<font face="trebuchet ms,sans-serif">Júlia,<br><br>Essa mensagem de erro ocorre devido a algo relacionado ao subespaço das matrizes envolvidas. Porém não causa problemas na análise (pelo menos no caso balanceado). Uma forma de evitar a mensagem de erro é escrever um novo fator, veja o CMR abaixo<br>
<br><span style="font-family: courier new,monospace;">da <- expand.grid(A=factor(1:4), B=factor(1:3), rept=factor(1:5))</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">da$y <- rnorm(da$A)</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">m0 <- aov(y~A+B+Error(A:B), data=da)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">summary(m0) # anova com mensagem de erro</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">da$parcela <- with(da, factor(paste(A, rept))) # escrevendo um novo fator cujos níveis correspondem à A:rept</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">str(da$parcela)</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">m1 <- aov(y~rept+A*B+Error(parcela), data=da)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">summary(m1) # mesma anova sem a mensagem de erro</span><br style="font-family: courier new,monospace;"><br>À disposição.<br>Walmes.<br><br></font><span style="font-family: trebuchet ms,sans-serif;">==========================================================================</span><br style="font-family: trebuchet ms,sans-serif;">
<span style="font-family: trebuchet ms,sans-serif;">Walmes Marques Zeviani</span><br style="font-family: trebuchet ms,sans-serif;"><span style="font-family: trebuchet ms,sans-serif;">LEG (Laboratório de Estatística e Geoinformação, 25.450418 S, 49.231759 W)</span><br style="font-family: trebuchet ms,sans-serif;">
<span style="font-family: trebuchet ms,sans-serif;">Departamento de Estatística - Universidade Federal do Paraná</span><br style="font-family: trebuchet ms,sans-serif;"><span style="font-family: trebuchet ms,sans-serif;">fone: (+55) 41 3361 3573</span><br style="font-family: trebuchet ms,sans-serif;">
<span style="font-family: trebuchet ms,sans-serif;">VoIP: (3361 3600) 1053 1173</span><br style="font-family: trebuchet ms,sans-serif;"><span style="font-family: trebuchet ms,sans-serif;">e-mail: <a href="mailto:walmes@ufpr.br" target="_blank">walmes@ufpr.br</a></span><br style="font-family: trebuchet ms,sans-serif;">
<span style="font-family: trebuchet ms,sans-serif;">twitter: @walmeszeviani</span><br style="font-family: trebuchet ms,sans-serif;"><span style="font-family: trebuchet ms,sans-serif;">homepage: <a href="http://www.leg.ufpr.br/%7Ewalmes" target="_blank">http://www.leg.ufpr.br/~walmes</a></span><br style="font-family: trebuchet ms,sans-serif;">
<span style="font-family: trebuchet ms,sans-serif;">linux user number: 531218</span><br style="font-family: trebuchet ms,sans-serif;"><span style="font-family: trebuchet ms,sans-serif;">==========================================================================</span><br>