geweke.ggplot | R Documentation |
Uses ggplot2
to produce alternative visualizations for results of Geweke diagnostics. This is a modification of the geweke.plot
function from the coda package.
geweke.ggplot(x, frac1 = 0.1, frac2 = 0.5, nbins = 20, pvalue = 0.05)
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 |
.
A ggplot
of Z-scores from the Geweke diagnostic
geweke.plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.