.plot_trace {BayesFBHborrow} | R Documentation |
Plot MCMC trace
Description
Creates a trace plot of given MCMC samples.
Usage
.plot_trace(
x_lim,
samples,
title = "",
xlab = "",
ylab = "",
color = "black",
linewidth = 1
)
Arguments
x_lim |
x-axis of the plot |
samples |
samples from MCMC |
title |
optional, add title to plot |
xlab |
optional, add xlabel |
ylab |
optional, add ylabel |
color |
color of the mid line, default is black |
linewidth |
thickness of the plotted line, default is 1 |
Value
a ggplot2 object
[Package BayesFBHborrow version 2.0.1 Index]