plot_diagnostics: Plot MCMC diagnostics.

Description Usage Arguments Details Value Examples

View source: R/plotting.R

Description

Plot MCMC diagnostics (traceplot and autocorrelation) of the log-posterior probability for a ouija_fit object.

Usage

1
plot_diagnostics(oui, arrange = c("vertical", "horizontal"))

Arguments

oui

A ouija_fit object

arrange

How to arrange the plots. If "vertical", traceplot and autocorrelation are arranged in one column, while if "horizontal" traceplot and autocorrelation are arranged in one row.

Details

Further assessment of convergence can be done using rstan functions on the underlying STAN object (accessed through oui$fit).

Value

A ggplot2 object

Examples

1
2

kieranrcampbell/ouija documentation built on Dec. 2, 2019, 12:44 p.m.