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

# S3 method for 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.

See also

Author

Phil J. Bouchet