Re: [R] Help with R2 OpenBUGs

2012-07-13 Thread Uwe Ligges
On 13.07.2012 12:51, Tom Porteus wrote: It seems to not be recognising a function you are calling within your model - taking a quick look you might want to check that table() is a function in OpenBUGS. g <- length(table(G)) [This time also CCing the OP] Additional hint: For debugging purpo

Re: [R] Help with R2 OpenBUGs

2012-07-13 Thread Uwe Ligges
On 13.07.2012 12:51, Tom Porteus wrote: It seems to not be recognising a function you are calling within your model - taking a quick look you might want to check that table() is a function in OpenBUGS. g <- length(table(G)) Additional hint: For debugging purposes, it is advisable to open t

Re: [R] Help with R2 OpenBUGs

2012-07-13 Thread Tom Porteus
It seems to not be recognising a function you are calling within your model - taking a quick look you might want to check that table() is a function in OpenBUGS. g <- length(table(G)) TP -- View this message in context: http://r.789695.n4.nabble.com/Help-with-R2-OpenBUGs-tp4636412p4636424.html

[R] Help with R2 OpenBUGs

2012-07-13 Thread SuzieK
Hi, I'm currently working on the below codes however whenever I run it in openbugs it gives an error message saying: unknown type of logical function error pos 76. Any help would be appreciated. ## bugs code library(R2OpenBUGS) sink("C:/Users/CCF/Documents/Suzie Work/PTY Project/Waterhole Correc