Skip to content
Prev 7547 / 20628 Next

MCMCglmm with cross-classified random effects

Dear R-users,

I would like to fit ?a glmm with cross-classified random effects with
the function MCMCglmm. Something along the lines:

model1<-MCMCglmm(response~pred1, random=~re1+re2, data=data)

where re1 and re2 should be crossed random effects. I was wondering
whether you could tell me specifying cross-classified random effects
in MCMCglmm requires a particular syntax? Are there any examples
somewhere? I have had a look at the manual and the package vignette,
but I have not been able to find any examples relevant to what I want
to do.

Thanks,

Agostino