Creates trace and density plots for multiple chains to assess convergence and mixing.
This is an S3 method that dispatches on topolow_diagnostics
objects.
# S3 method for topolow_diagnostics
plot(
x,
output_dir,
output_file = "topolow_param_diagnostics.png",
save_plot = FALSE,
...
)
A ggplot object of the combined plots.
A topolow_diagnostics
object from calculate_diagnostics()
.
Character. Directory for output files. Required if save_plot
is TRUE.
Character path for saving the plot.
Logical. Whether to save the plot.
Additional arguments passed to create_diagnostic_plots
.