plot.topolow_amcs_diagnostics {topolow}R Documentation

Plot Method for Adaptive Monte Carlo Sampling Diagnostics

Description

Creates trace and density plots for multiple chains to assess convergence and mixing.

Usage

## S3 method for class 'topolow_amcs_diagnostics'
plot(
  x,
  output_dir,
  output_file = "mc_diagnostics.png",
  save_plot = FALSE,
  width = 3000,
  height = 3000,
  res = 300,
  ...
)

Arguments

x

A topolow_amcs_diagnostics object

output_dir

Character. Directory for output files. Required if save_plot is TRUE.

output_file

Character path for saving plot

save_plot

Logical. Whether to save the plot.

width, height, res

Plot dimensions and resolution

...

Additional arguments passed to plot functions

Value

A ggplot object of the combined plots.


[Package topolow version 1.0.0 Index]