R/traceplot.R
traceplot.Rd
Trace, marginal density histogram, and autocorrelation plot of MCMC draws.
traceplot(x, ylab = NULL, log = FALSE)
A vector of MCMC draws.
An optional y-axis label.
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)