plot_trace: Plot MCMC trace plots

View source: R/plot.R

plot_traceR Documentation

Plot MCMC trace plots

Description

Draw trace plots for each parameter across chains.

Usage

plot_trace(x, mono = FALSE)

Arguments

x

A 3D array of posterior samples with dimensions '(iterations, chains, variables)'. A 2D matrix '(iterations, chains)' is also allowed and is treated as a single variable.

mono

Logical. If 'TRUE', plot in monochrome. If 'FALSE', use blue shades.

Value

No return value. This function is called for its side effect of plotting.


BayesRTMB documentation built on Nov. 24, 2026, 9:06 a.m.