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_par(
  x,
  show = NULL,
  hide = NULL,
  lag = 20,
  downsample = TRUE,
  phase = "sampling",
  chain = NULL,
  display = TRUE
)

Arguments

x

an object of class drjacoby_output

show

optional vector of parameter names to plot. Parameters matching show will be included.

hide

optional vector of parameter names to filter out. Parameters matching hide will be hidden.

lag

maximum lag. Must be an integer between 1 and 500.

downsample

boolean. Whether to downsample chain to make plotting more efficient.

phase

which phase to plot. Must be either "burnin" or "sampling".

chain

which chain to plot.

display

boolean. Whether to show plots, if FALSE then plotting objects are returned without displaying.