convergence: MCMC convergence diagnostics

Description Usage Arguments Details Value

View source: R/analysis_functions.R

Description

Diagnostics for convergence of the MCMC chains from a call to lgcp.

Usage

1
convergence(lg, plots = TRUE)

Arguments

lg

Output from a call to lgcp

plots

Logical indicating whether to plot MCMC traceplots

Details

Produces a traceplot of the model parameters and prints R-hat and ESS statistics.

Value

Traceplot of the MCMC chains of parameters from the linear predictor and covariance function is plotted, and R-hat and ESS statistics are printed.


realTimeSurv documentation built on May 18, 2021, 9:07 a.m.