plotDiagnostic: Plot MCMC diagnostics.

Description Usage Arguments Details Value

View source: R/plotting.R

Description

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

Usage

1
plotDiagnostic(fit, arrange = c("vertical", "horizontal"))

Arguments

fit

A stanfit 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.

Value

A ggplot2 object


kieranrcampbell/pseudogp documentation built on May 20, 2019, 9:24 a.m.