Hi, can anyone tell me how to nest two fixed factors using glmer in lme4? I have a split-plot design with two fixed factors - A (whole plot factor) and B (subplot factor), both with two levels. I want to do GLMM as I also want to include different plots as a random factor. But I am interested on the effect of A a B and their interaction on the response variable. I tried this:glmer(response~A*B+(A/B)+(1|C),data=Exp2,family=poisson but it gives the same output as if I removed (A/B) all together or used (A:B) instead thus the output is the same as: glmer(response~A*B+(1|C),data=Exp2,family=poisson anyone can help with how I define this nesting, so that data are analysed correctly given my split-plot design? thanks, Martina
[[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.