Produce a series of plots corresponding to each parameter, including the raw trace, the posterior histogram and an autocorrelation plot. Plotting objects can be cycled through interactively, or can be returned as an object allowing them to be viewed/edited by the user.
plot_trace(
x,
show = NULL,
hide = NULL,
lag = 20,
downsample = TRUE,
phase = "sampling",
chain = NULL,
display = TRUE
)
an object of class drjacoby_output
optional vector of parameter names to plot. Parameters matching show will be included.
optional vector of parameter names to filter out. Parameters matching hide will be hidden.
maximum lag. Must be an integer between 1 and 500.
boolean. Whether to downsample chain to make plotting more efficient.
which phase to plot. Must be either "burnin", "sampling" or "both".
which chain to plot.
boolean. Whether to show plots, if FALSE
then plotting
objects are returned without displaying.