plotMH: Plot MCMC results of a call to Metro_Hastings().

Description Usage Arguments Value Author(s) See Also Examples

Description

This function plots histograms and traces of each parameter of the Bayesian model.

Usage

1
plotMH(mcmc_object, correlogram = TRUE)

Arguments

mcmc_object

an object returned by a call to Metro_Hastings()

correlogram

logical: if TRUE, plots a pairwise correlogram of each parameter in the model.

Value

NULL

Author(s)

Corey Chivers <corey.chivers@mail.mcgill.ca>

See Also

Metro_Hastings,BCI, mcmc_thin

Examples

1
2
data(mcmc_r)
plotMH(mcmc_r) ## Plot the results of a simple Bayesian linear regression

MHadaptive documentation built on May 1, 2019, 10:31 p.m.