Skip to contents

Plot chain swap acceptance rates

Usage

plot_chain_swaps(mcmc_results)

Arguments

mcmc_results

list of results from run_mcmc

Value

list of ggplot objects, one per chain

Details

Plot the swap acceptance rates for each chain. The x-axis is the temperature, and the y-axis is the swap acceptance rate. The dashed lines indicate the temperatures used for parallel tempering.

Examples

plots <- plot_chain_swaps(mcmc_results)
plots[[1]]