Re: [R] bug in R2WinBUGS

2009-01-31 Thread Mike Meredith
Problem with the change is that none of our old scripts work! If the model.file is in R's current working directory we either have to use working.directory=getwd() or specify a full path with model.file=file.path(getwd(), mymodel.bug). It would be really nice if 'bugs' looked in R's c.w.d. for

Re: [R] how to find p in binomial(n,p)

2007-09-19 Thread Mike Meredith
I think the function you need is 'help.search'; try: help.search(binomial) and look for something obvious in the 'stats' package. A good deal quicker and easier than posting to an internet forum! Cheers, Mike. cathelf wrote: Dear all, I am trying a find the value p in binomial. X ~