plot.gvs: Diagnostic plots

View source: R/plot.gvs.R

plot.gvsR Documentation

Diagnostic plots

Description

Generate trace, density, and autocorrelation plots from a gvs object.

Usage

## S3 method for class 'gvs'
plot(gvs.dat, param.name = NULL, autocorr = FALSE, individual = FALSE)

Arguments

gvs.dat

Gibbs Variable Selection object, as returned by gibbs.

param.name

Parameter name(s). Defaults to NULL, which returns plots for all parameters in the model.

autocorr

Logical. Whether to output chain autocorrelation plots.

individual

Logical. If TRUE, separate density lines will be plotted for each chain. If FALSE, one density line will be plotted for all chains.

Details

Adapted from Casey Youngflesh's function MCMCtrace.

Author(s)

Phil J. Bouchet

See Also

run_rjMCMC trace_rjMCMC


pjbouchet/espresso documentation built on July 27, 2024, 12:31 p.m.