traceplot-bdm-method: Traceplot for MCMC output

traceplot,bdm-methodR Documentation

Traceplot for MCMC output

Description

Plots the trace outputs from an MCMC run implented using sampler.

Usage

## S4 method for signature 'bdm'
traceplot(
  object,
  pars = c("r", "logK", "lp__"),
  inc_warmup = TRUE,
  ask = FALSE
)

Arguments

object

a bdm object

pars

parameters to be plotted

inc_warmup

logical value indicating whether the warmup values should be included

ask

depreciated for this method

Details

This function uses the S4 generic traceplot provided by rstan.

Value

Returns a ggplot object that can be displayed or assigned and manuipulated using further arguments from the ggplot2 package.


cttedwards/bdm documentation built on June 11, 2025, 5:17 p.m.