Re: [R] R2WinBUGS sending variables as factors

2008-01-05 Thread Gregor Gorjanc
James.Dell at csiro.au writes: ... 1) I can't seem to send variables classed as factors (Month), is there a way do this? You can not use factors per se in BUGS. You have to convert them to numeric (integer) variables before. 2) Checking the Log in WinBUGS I can see that the model is

Re: [R] R2WinBUGS sending variables as factors

2008-01-04 Thread Uwe Ligges
James, the first non-regular message you got in the output was: made use of undefined node nSeaW, so what about defining nSeaW (or did you mean to write mSeaW)? If this is not the problem, please provide the data so that we can try to reproduce your error, as the psoting guide (of R-help) ask

[R] R2WinBUGS sending variables as factors

2008-01-03 Thread James.Dell
Hello R and BUGS users, I am writing a heirarchical model in R to send to BUGS via R2WinBUGS and I am finding it difficult to get the model to run. I seem to be having two problems. 1) I can't seem to send variables classed as factors (Month), is there a way do this? 2) Checking the Log in