geweke.ggplot: Alternative plotting function for Geweke Diagnostics

geweke.ggplotR Documentation

Alternative plotting function for Geweke Diagnostics

Description

Uses ggplot2 to produce alternative visualizations for results of Geweke diagnostics. This is a modification of the geweke.plot function from the coda package.

Usage

geweke.ggplot(x, frac1 = 0.1, frac2 = 0.5, nbins = 20, pvalue = 0.05)

Arguments

x

An mcmc object

frac1

Fraction to use from the beginning of the chain

frac2

Fraction to use from the end of the chain

nbins

Number of segments

pvalue

p-value used to plot confidence limits for the null hypothesis

.

Value

A ggplot of Z-scores from the Geweke diagnostic

See Also

geweke.plot


davidaarmstrong/asmcjr documentation built on June 29, 2024, 12:07 p.m.