traceplot | R Documentation |
Trace, marginal density histogram, and autocorrelation plot of MCMC draws.
traceplot(x, ylab = NULL, log = FALSE)
x |
A vector of MCMC draws. |
ylab |
An optional y-axis label. |
log |
Logical scalar controlling whether the y-axis should be logged. |
A plot created using plot_grid
showing
the trace, marginal density histogram, and autocorrelation function of the
MCMC draws in x
.
x <- rnorm(1000) traceplot(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.