Creates trace plots for the draws of the posterior distribution.
plot_trace(
fit,
file_path,
include_burnin = FALSE,
n_col = 4,
alpha = 0.05,
save = TRUE,
title = TRUE,
device = "jpg",
width = 10,
height = 2,
units = "in"
)nothing
fitted object
file path for plots
logical indicating if burnin phase should be included
(only used if plot_type = "trace")
number of columns for grid plots
cut off value for posterior (only used if
plot_type = "density")
boolean indicating if plots should be saved, if FALSE, the
plots will be printed instead, default is save = FALSE (ignored if
file_path is provided)
boolean indicating if plots should contain titles
character string with format used in ggsave
plot width in units, for grid plots adjusted for the
number of plot columns n_col
plot height in units, for grid plots adjusted for the
number of plot rows implied by n_col
units for plot size ("in", "cm", "mm", or "px")