Skip to content

MCMCglmm user defined incidence matrix

2 messages · Boby Mathew, Jarrod Hadfield

#
Dear MCMCglmm users,

Is it possible to pass a user specified incidence matrix in MCMCglmm.

thanks for the help.

regards,
Boby Mathew
1 day later
#
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: