Re: [R] Problem using BRugs

2010-10-17 Thread Uwe Ligges
On 15.10.2010 20:40, Sally Luo wrote: Hi R users, I am trying to call openbugs from R. And I got the following error message: ~ model is syntactically correct expected the collection operator c error pos 8

[R] Problem using BRugs

2010-10-15 Thread Sally Luo
Hi R users, I am trying to call openbugs from R. And I got the following error message: ~ model is syntactically correct expected the collection operator c error pos 8 (error on line 1) variable ww is not

Re: [R] problem with BRugs

2009-08-25 Thread Uwe Ligges
R Heberto Ghezzo, Dr wrote: Hello, I am sorry, I have this problem before and Uwe send me the answer but I misplaced it Oh dear! But it is not lost, since the answer to the second part of your problem was: Please read the documentation! and can not find it. writing a model for BRugs

Re: [R] problem with BRugs

2009-08-25 Thread Vitalie S.
Hello Uwe, Just a related question, OpenBugs is using C and T for Censoring and Truncation. But this does not seem to work with BRugs. I am using this document http://mathstat.helsinki.fi/openbugs/Manuals/ModelSpecification.html#TheBUGSLanguageStochasticNodes Thanks, Vitalie. On Tue, 25

Re: [R] problem with BRugs

2009-08-25 Thread Uwe Ligges
Vitalie S. wrote: Hello Uwe, Just a related question, OpenBugs is using C and T for Censoring and Truncation. But this does not seem to work with BRugs. I am using this document http://mathstat.helsinki.fi/openbugs/Manuals/ModelSpecification.html#TheBUGSLanguageStochasticNodes What's

Re: [R] problem with BRugs

2009-08-25 Thread Vitalie S.
On Tue, 25 Aug 2009 12:13:21 +0200, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: Vitalie S. wrote: Hello Uwe, Just a related question, OpenBugs is using C and T for Censoring and Truncation. But this does not seem to work with BRugs. I am using this document

Re: [R] problem with BRugs

2009-08-25 Thread Uwe Ligges
Vitalie S. wrote: On Tue, 25 Aug 2009 12:13:21 +0200, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: Vitalie S. wrote: Hello Uwe, Just a related question, OpenBugs is using C and T for Censoring and Truncation. But this does not seem to work with BRugs. I am using this document

Re: [R] problem with BRugs

2009-08-25 Thread Vitalie S.
This is a BUGS error message that indeed tells you that BUGS cannot truncate that density - not related to R at all. Best, Uwe Ligges Yes, indeed, that does not work in OpenBugs as well. Means that documentation of Open bugs is incorrect (they are using dnorm there). Also I works

Re: [R] problem with BRugs

2009-08-25 Thread Uwe Ligges
Vitalie S. wrote: This is a BUGS error message that indeed tells you that BUGS cannot truncate that density - not related to R at all. Best, Uwe Ligges Yes, indeed, that does not work in OpenBugs as well. Means that documentation of Open bugs is incorrect (they are using dnorm

[R] problem with BRugs

2009-08-24 Thread R Heberto Ghezzo, Dr
Hello, I am sorry, I have this problem before and Uwe send me the answer but I misplaced it and can not find it. writing a model for BRugs library(BRugs) Loading required package: coda Loading required package: lattice Welcome to BRugs running on OpenBUGS version 3.0.3 setwd(c:/tmp) Error in