[R-sig-ME] Mixed Model Specification
Worthington, Thomas A
thomas.worthington at okstate.edu
Thu Jun 26 23:00:41 CEST 2014
Dear All
I have a question about the use of a mixed effects model. I have presence/absence data for a mussel species collected at 25 sites. I wish to relate the presence/absence to a number of environmental variables and also want to take into account site. Is it feasible to use site as a random effect as I have only one replicate per site e.g.
M1<-glmer(Presence ~ Substrate, (1 | Site), family = binomial, data = data)
Best wishes
Tom
More information about the R-sig-mixed-models
mailing list