plot_sampler_params: Plot adaptation metrics for a fitted model.

View source: R/utils.R

plot_sampler_paramsR Documentation

Plot adaptation metrics for a fitted model.

Description

Plot adaptation metrics for a fitted model.

Usage

plot_sampler_params(fit, plot = TRUE)

Arguments

fit

A fitted object returned by sample_admb.

plot

Whether to plot the results

Details

This utility function quickly plots the adaptation output of NUTS chains.

Value

Prints and invisibly returns a ggplot object

Examples

fit <- readRDS(system.file('examples', 'fit.RDS', package='adnuts'))
plot_sampler_params(fit)

colemonnahan/adnuts documentation built on Feb. 10, 2024, 3:30 a.m.