Create MCMC trace plots

Share:

Description

Create MCMC trace plots for the transmission parameters

Usage

1
2
traceplots(mcmcoutput, tracecol="lightgrey", labels=c("p","z","beta","gamma",
"gamma_G","genpar"), burn=1, filter=1)

Arguments

mcmcoutput

MCMC output from the transmission_analysis function.

tracecol

Trace color.

labels

Character vector for parameter names.

burn

Burn-in length. This is not plotted.

filter

Retain every nth iteration.

Details

Red lines indicate the mean (solid) and 95% credible intervals (dashed) for each parameter.

Examples

1
2