Skip to contents

This function generates a Gelman-Rubin-Brooks plot for the rho parameter of a coda object. 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_Rho(CodaObj)

Arguments

CodaObj

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

Value

A ggplot object representing the Gelman-Rubin-Brooks plot for the rho parameter.

Author

Ahmed El-Gabbas