plot_trace: Produce MCMC trace plot

Description Usage Arguments Examples

View source: R/plot.R

Description

Produce MCMC trace plot of the log-likelihood at each iteration.

Usage

1
plot_trace(project, K = NULL, rung = NULL, col = "black", phase = "sampling")

Arguments

project

an RgeoProfile project, as produced by the function rgeoprofile_project().

K

which value of K to plot.

rung

which rung to plot. Defaults to the cold chain.

col

colour of the trace.

phase

plot the trace during the burnin or sampling phase

Examples

1
2
3
plot_trace(project = p, K = 2)
# Similarly, plot the trace for every K value.
plot_trace(project = p)

Michael-Stevens-27/silverblaze documentation built on May 28, 2021, 5:47 p.m.