powered by
Trace, marginal density histogram, and autocorrelation plot of MCMC draws.
traceplot(x, ylab = NULL, log = FALSE)
A plot created using plot_grid showing the trace, marginal density histogram, and autocorrelation function of the MCMC draws in x.
plot_grid
x
A vector of MCMC draws.
An optional y-axis label.
Logical scalar controlling whether the y-axis should be logged.
x <- rnorm(1000) traceplot(x)
Run the code above in your browser using DataLab