Skip to content
Prev 317883 / 398506 Next

Getting WinBUGS Leuk example to work from R using R2winBUGS

On 17.02.2013 08:47, Andy Cox wrote:
You need a list containing one list of initial values for each chain. 
For you nc=1 number of chains, this means:

  inits <- list(list( beta = 0.0,
        dL0 = c(1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,
                1.0,1.0,1.0,1.0,1.0,1.0, 1.0,1.0)))


Best,
Uwe Ligges