traces | R Documentation |
Method to plot Gibbs sampling traces
traces(object, burnin = TRUE, index = 1)
## S4 method for signature 'Bacon'
traces(object, burnin = TRUE, index = 1)
object |
'bacon'-object |
burnin |
include burnin period default true |
index |
if multiple sets of test-statsistics where provided |
plot of the Gibbs Sampler traces
bacon
y <- rnormmix(2000, c(0.9, 0, 1, 0, 4, 1))
##nbins = 100 to speed up the calculations
bc <- bacon(y, nbins=100)
traces(bc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.