Skip to contents

This function generates a Gelman-Rubin-Brooks plot for alpha parameters. It uses parallel processing to speed up the computation. The plot includes lines for the median and the 97.5th percentile of the shrink factor, with a dashed line at 1.1 indicating the threshold for convergence. This function is not planned to be used in isolation but rather within PlotGelman.

Usage

PlotGelman_Alpha(CodaObj, PlottingAlpha = 0.25)

Arguments

CodaObj

An object of class mcmc.list, representing the Hmsc samples.

PlottingAlpha

A double specifying the alpha (transparency) level for the plot lines. Default is 0.25.

Value

A ggplot object(s) representing the Gelman-Rubin-Brooks plot for the beta parameters.

Author

Ahmed El-Gabbas