Learn R Programming

metamisc (version 0.4.0)

gelmanplot.uvmeta: Gelman-Rubin-Brooks plot

Description

This plot shows the evolution of Gelman and Rubin's shrink factor as the number of iterations increases. The code is adapted from the R package coda.

Usage

# S3 method for uvmeta
gelmanplot(x, confidence = 0.95, ...)

Value

A ggplot object.

An object of class ggplot

Arguments

x

An mcmc object

confidence

The coverage probability of the confidence interval for the potential scale reduction factor

...

Additional arguments which are currently not used

Author

Thomas Debray <thomas.debray@gmail.com>