plot.smoothbp_fit: Trace and density plots for a smoothbp_fit

View source: R/plot_methods.R

plot.smoothbp_fitR Documentation

Trace and density plots for a smoothbp_fit

Description

A thin wrapper around trace_plot for the standard plot() interface.

Usage

## S3 method for class 'smoothbp_fit'
plot(x, type = "trace", pars = NULL, ...)

Arguments

x

A smoothbp_fit object.

type

One of "trace" (default), "density", or "both".

pars

Character vector of parameter names. Defaults to all non-random-effect parameters.

...

Passed to trace_plot.

Value

A ggplot object, or a named list of two when type = "both".


smoothbp documentation built on June 14, 2026, 9:06 a.m.