[R] nested anova<-R chrashing
stephanj at rhrk.uni-kl.de
Mon Sep 12 20:05:43 CEST 2011
I tried to do a nested Anova with the attached Data. My response
variable is "survivors" and I would like to know the effect of
(insect-egg clutch) "size", "position" (of clutch on twig) and "clone"
(/plant genotype) on the survival of eggs (due to predation). Each plant
was provided with three different sizes of clutches (45,15,5) and had
pseudo-replications of size 15 and 5 on it.
_Question 1: right code for nested Anova_
Here part of the code I used:
After that command it says: "Error() model is singular". Even after
googling (looks like many people had that problem) I am still uncertain
how to solve that, mainly because I am not sure if the used code for the
Anova meets my set up requirements. If I am using
"ANOVA<-aov(survivors~clone1*plant1/(size1*position1)))" R sometimes is
even crashing down.
_Question 2: normal distribution and homogeneity of variance_
So fare I tested "normal" Anovas by doing a linear model following
plotting and KS-test and Bartlett-test including Q-Q-plot.
Residuen<-resid(fm) Here R is crashing again!!!
Is that too much to compute for R? Is it OK to look for the
preconditions for that nested Anova in that way, or do I have to use the
same code for the Bartlett also (or evaluate only by looking at the
Graphs (Zuur et al. 2010))??????
Thank you very much in advance
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the R-help