Skip to content
Prev 2293 / 20628 Next

Side effects from mcmcsamp()

Hello,
I noticed this a wile ago. One thing that occurred to me was to copy to 
another object before running mcmcsamp, example:
obmix0<-obmix
where obmix is the lmer object.
then do: mcmcsamp(obmix)....
For some reason obmix0 gets modified too.

It's been a while since I checked this so it may have been fixed.

Anyways, a way around this is to extract all the info needed from your 
lmer object to other variables before running mcmcsamp, that's what I do 
now and it works fine.
Thanks
JP
John Maindonald wrote: