Learn R Programming

birp (version 0.0.5)

plot_mcmc: Plot MCMC Traces and Posterior Densities

Description

Visualizes the MCMC trace plots and posterior densities of the gamma parameters from a birp object.

Usage

plot_mcmc(x, col = c("black", "blue"))

Value

No return value; the function is called for its side effects (plotting).

Arguments

x

A birp object containing posterior samples.

col

Character vector; Colors for trace and density plots. Default is c("black", "blue").

See Also

birp

Examples

Run this code
data <- simulate_birp()
est <- birp(data)
plot_mcmc(est)

Run the code above in your browser using DataLab