plot_chains: —————— Plot MCMC Chains

Description Usage Arguments Value Examples

Description

Plots the last n draws of an MCMC chain

Usage

1
plot_chains(mcmc_chain, n = 100, title = "", ...)

Arguments

mcmc_chain

An MCMC Chain matrix. (draws * number of params)

n

Number of draws to plot

title

Title for the plot

...

additional parameters to be passed to the functions

Value

A ggplot2 lines plot

Examples

1
plot_chains(betas), plot_chains(w_j, 1000)

PaoloLuciano/bpwpm2 documentation built on June 6, 2019, 5:47 p.m.