Learn R Programming

prevalence (version 0.4.1)

plot-methods-coda: Plotting functions from package coda

Description

Different plotting functions from package coda have been made available as method to class prev

Usage

# S4 method for prev
densplot(x, exclude_fixed = TRUE, …)

# S4 method for prev traceplot(x, exclude_fixed = TRUE, …)

# S4 method for prev autocorr.plot(x, exclude_fixed = TRUE, chain = 1, …)

Arguments

x

An object of class prev

exclude_fixed

Should fixed parameters be excluded from plotting? defaults to TRUE

chain

Which chain to plot in autocorr.plot; defaults to 1

Other arguments to pass to the specific plot function.

Methods

signature(x = "prev")

Show density, trace, Brooks-Gelman-Rubin and autocorrelation plots.

See Also

prev-class plot-methods densplot, traceplot, gelman.plot, autocorr.plot