[R-sig-ME] MCMCglmm with cross-classified random effects
Jarrod Hadfield
j.hadfield at ed.ac.uk
Mon Feb 13 16:19:07 CET 2012
Hi,
As long as the levels of re1 and re2 are uniquely labelled any cross
classification will be dealt with appropriately.
Cheers,
Jarrod
Quoting Agostino Moro <agostino.moro99 at gmail.com> on Mon, 13 Feb 2012
15:02:20 +0000:
> 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
>
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>
>
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
More information about the R-sig-mixed-models
mailing list