[R-sig-ME] help
jersa at centrum.cz
jersa at centrum.cz
Tue Jan 7 11:24:55 CET 2014
Dear glmer experts,
I would be very happy if someone could help with following problem.
I have following data: I planted seed bags in the vicinity of 10 mother plants into three directions and 4 distances (10,31,56, 100cm). The germination success (0/1) was asseed by extracting one seed bag per microsite for next three years. I am interested into the effect of distance on germination success and possible differencies in germination between years. The data have lots of 0 values.
I used originaly following syntax
glmer(germination~distance+(1|plant/direction/year),family=binomial,data=seed)
but I was told that distance, year and direction can interact and not always in the way as specified by this type of nesting.
Would this be correct the one to test interaction between year and distance?
glmer(germination~distance+(1|plant/direction)+(1|distance:year),family=binomial,data=seed)
Thank you very much for any hints. Jana
More information about the R-sig-mixed-models
mailing list