traceplot {bayefdr} | R Documentation |
Trace, marginal density histogram, and autocorrelation plot of MCMC draws.
Description
Trace, marginal density histogram, and autocorrelation plot of MCMC draws.
Usage
traceplot(x, ylab = NULL, log = FALSE)
Arguments
x |
A vector of MCMC draws. |
ylab |
An optional y-axis label. |
log |
Logical scalar controlling whether the y-axis should be logged. |
Value
A plot created using plot_grid
showing
the trace, marginal density histogram, and autocorrelation function of the
MCMC draws in x
.
Examples
x <- rnorm(1000)
traceplot(x)
[Package bayefdr version 0.2.1 Index]