Produce diagnostic plots of the log-likelihood.

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

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.

phase

check the burnin or sampling phase of the MCMC chain

col

colour of the trace.

Details

For a value of K produce the auto-correlation, trace and density plots of the MCMC.

Examples

p <- rgeoprofile_file("tutorial1_project.rds") plot_loglike_diagnostic(project = p, K = 2)