Skip to content
Prev 12549 / 20628 Next

MCMCglmm user defined incidence matrix

Hi Boby,

Probably the easiest way is to create your incidence matrix Z and then  
put it into your data frame:

your_data$Z<-Z

and then have random=~idv(Z)

If its a large incidence matrix the start up might be slow.

Cheers,

Jarrod





Quoting Boby Mathew <bobyboby at gmail.com> on Tue, 14 Oct 2014 09:12:10 +0200: