Re: [R] expected variable name error pos 98349 WInBUGS in R

2008-12-10 Thread Uwe Ligges
Googling for WinBUGS leads you to http://www.mrc-bsu.cam.ac.uk/bugs/winbugs/contents.shtml which contains a link to the BUGS list. Uwe Ligges Anamika Chaudhuri wrote: I did run the same model in WinBUGS, letting WinBUGS generate initials but now it gives me the error 'data value already given

Re: [R] expected variable name error pos 98349 WInBUGS in R

2008-12-09 Thread Anamika Chaudhuri
I did run the same model in WinBUGS, letting WinBUGS generate initials but now it gives me the error 'data value already given to this quantitiy' using a sample dataset and the cursor blinks in the highlighted section. list(NAUSEA=c(1,0,0,0,0,1,1,1,0,1,1,0),SITEID=c(1,1,1,1,1,1,2,2,2,2,2,2), n.sit

Re: [R] expected variable name error pos 98349 WInBUGS in R

2008-12-09 Thread Uwe Ligges
Hard to help without seeing the actual files. Anyway, this is a BUGS question rather than an R question, because the error comes from the BUGS interpreter. Hence wrong mailing list. Best wishes, Uwe Ligges Anamika Chaudhuri wrote: I am using a random intercept model with SITEID as random

[R] expected variable name error pos 98349 WInBUGS in R

2008-12-08 Thread Anamika Chaudhuri
> I am using a random intercept model with SITEID as random and NAUSEA as > outcome. > > I tried using a dataset without missing values and changed my model > statement accordingly but still get the same error. Follwoing in an excerpt. > > anal.data <- read.table("nausea.txt", header=T, sep="\t") >