Re: [R] Error: expected the collection operator c error pos 98 (error on line 1)

2008-04-10 Thread Uwe Ligges
Quick inspection shows that we cannot do anything. In BUGS, Y indicates a scalar and Y[] indicates a vector. For scalar Y, you need Y=0.0E+00 in your data file, but for vector Y[], you need Y=c(0.0E+00) in your data file. This means you need to know what Y is in the model and I do not s

Re: [R] Error: expected the collection operator c error pos 98 (error on line 1)

2008-04-10 Thread Uwe Ligges
Blanchard, Suzette wrote: > Greetings, > > > > I implemented BRugs to run the EWOC model with a cohort size N=1. I > output the simulation data using bugsdata(data), where data is the following > list. > > > >> data > > $Dose > > [1] 140 > > > > $Y > > [1] 0 > > > >

[R] Error: expected the collection operator c error pos 98 (error on line 1)

2008-04-07 Thread Blanchard, Suzette
Greetings, I implemented BRugs to run the EWOC model with a cohort size N=1. I output the simulation data using bugsdata(data), where data is the following list. > data $Dose [1] 140 $Y [1] 0 bugsdata(data) puts out the file data.txt as follows. list(Dose=1.4E