[R] R2WinBugs

2006-08-21 Thread Bowden, J.M.
Hi all, I am having problems using the R2Winbugs function When I perform an analysis directly in Winbugs I can specify that the first 'n' iterations are to be done using an 'adaptive' phase. After this phase the markov chain seems to mix a lot better. I don't seem to be able to specify

[R] Graphics question

2006-03-02 Thread Bowden, J.M.
Hi I am trying to plot two points (with confidence intervals) on a graph to illustrate the value of a particular quantity after 1 and 2 iterations respectively. I'm doing this by plot(cycle,alpha[2,],main=,ylim=c(-8,-3),cex=2,col=red,pch=19,ylab=e xpression(alpha),xlab=cycle) Etc.. Where

[R] gauss.hermite function

2006-02-27 Thread Bowden, J.M.
Hi, I am trying to find a function that returns simply the weights and points of an n point gauss hermite integeration, so that I can use them to fit a non-standard likelihood. I have found some documentation for the function 'gauss.hermite' written by jim lindley, but can't find the actual