Produce MCMC density plot of the log-likelihood

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

Arguments

project

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

K

value of K to plot.

rung

which rung to plot. Defaults to the cold chain.

col

colour of the trace.

phase

plot the acf during the burnin or sampling phase.

Examples

p <- rgeoprofile_file("tutorial1_project.rds") plot_density(project = p)
#> using K = 1 by default