plot_acf: Plot autocorrelation for one variable across chains

View source: R/plot.R

plot_acfR Documentation

Plot autocorrelation for one variable across chains

Description

Draw autocorrelation plots for a selected parameter across all chains.

Usage

plot_acf(x, var_idx = 1)

Arguments

x

A 3D array of posterior samples with dimensions '(iterations, chains, variables)'.

var_idx

Integer. Index of the variable to plot.

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.