[R] Help with R2 OpenBUGs

Uwe Ligges ligges at statistik.tu-dortmund.de
Fri Jul 13 18:49:04 CEST 2012



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 purposes, it is advisable to open the model file in 
OpenBUGS directly until you are sure it is correct, then go back to R 
and automate things ....

Uwe Ligges


> TP
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Help-with-R2-OpenBUGs-tp4636412p4636424.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list