Re: [R] errors in initial values in R2winBUGS

2014-10-11 Thread Daniel Miquelluti
You are separating the objects using commas, the correct should be semicolons. Example: xi1=matrix(data=rep(0.0,600),ncol=3);xi2=matrix(data=rep(0.0,600),ncol=3)) Best regards, Daniel Miquelluti Em S�bado, 11 de Outubro de 2014 18:06, Uwe Ligges escreveu: On 11.10.2014 06:09, thanoon

Re: [R] errors in initial values in R2winBUGS

2014-10-11 Thread Uwe Ligges
On 11.10.2014 06:09, thanoon younis wrote: Dear all R users I am trying to find the bayesian analysis using R2winBUGS but i have errors in initial values with two groups. the R-code #Initial values for the MCMC in WinBUGS init1<-list(uby1=rep(0.0,10),lam1=c(0.0,0.0,0.0,0.0,0.0,0.0), gam1=c(1.0

[R] errors in initial values in R2winBUGS

2014-10-10 Thread thanoon younis
Dear all R users I am trying to find the bayesian analysis using R2winBUGS but i have errors in initial values with two groups. the R-code #Initial values for the MCMC in WinBUGS init1<-list(uby1=rep(0.0,10),lam1=c(0.0,0.0,0.0,0.0,0.0,0.0), gam1=c(1.0,1.0,1.0,1.0,1.0,1.0),psd1=1.0,phi1=matrix(data