Retrieving samples when ussing BRugs.
If you obtain an output object with openbugs(), e.g.: samples <- openbugs( ... ) Then this is a list with all the parameters and samples. See names(samples). You can obtain the samples in a list with: samples[['sims.list']] Is this what you mean?
On Fri, Dec 9, 2011 at 2:00 PM, Thiago Guerrera <thigm85 at gmail.com> wrote:
Hello R users,
I have used the R package BRugs in some applications but one thing that
annoy me is the functions to retrieve samples ("samplesSample") or summary
statistics ("samplesStats"). They take a really long time to return the
values if the size of the chains in question is moderate, for example
10.000 samples. Does this happens with every one or there is a better way
to obtain such values?
Best
--
Thiago Guerrera.
? ? ? ?[[alternative HTML version deleted]]
______________________________________________ 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.