Re: [R] Problem in R2WinBUGS

2014-12-31 Thread Berend Hasselman
You should reply to the R-help list and not only to me . yo in your answer to me does not correspond with the original mail. It’s not possible to make sense of your code. Berend > On 31-12-2014, at 10:14, thanoon younis wrote: > > thank you for your response > N<-2000; P<-9 > > yo<-matrix(d

Re: [R] Problem in R2WinBUGS

2014-12-30 Thread Berend Hasselman
> On 31-12-2014, at 08:27, thanoon younis wrote: > > Dear all members > I have a problem with the code below when i wanted to change the continuous > random variables to mixed ordered categorical and dichotomous as follow > > #transform theta to ordinal variables > yo <- array(0, dim=c(i,

Re: [R] problem in R2winBUGS

2014-10-12 Thread Uwe Ligges
On 12.10.2014 15:06, thanoon younis wrote: Dear all Rusers I have error when i wanted to call winbugs from R to estamate parameters using bayesian analysis. #Call WinBUGS model<-bugs(data1,data2,init1,init2,parameters,model.file="D:/Run/model.txt", n.chains=2,n.iter=1,n.burnin=4000