plot_chains: Plot MCMC Chains

Description Usage Arguments Value Examples

View source: R/plot_funcs.R

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

Value

A ggplot2 lines plot

Examples

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

PaoloLuciano/BPWPM documentation built on May 21, 2019, 1:20 p.m.