plot.dc: Trace, density and autocorrelation plots for (parameters of...

View source: R/plots.R

plot.dcR Documentation

Trace, density and autocorrelation plots for (parameters of a) draws component (dc) object

Description

Trace, density and autocorrelation plots for (parameters of a) draws component (dc) object

Usage

## S3 method for class 'dc'
plot(x, nrows, ncols, ask = FALSE, ...)

Arguments

x

a draws component object.

nrows

number of rows in plot layout.

ncols

number of columns in plot layout.

ask

ask before plotting the next page; default is FALSE.

...

arguments passed to density.

Examples


ex <- mcmcsae_example(n=50)
sampler <- create_sampler(ex$model, data=ex$dat)
sim <- MCMCsim(sampler, store.all=TRUE)
plot(sim$u)



mcmcsae documentation built on Oct. 11, 2023, 1:06 a.m.