Skip to contents

The $diagnostics() method of an MRPModel object returns MCMC diagnostics, including convergence statistics and sampling efficiency measures. Check out this official Stan guide for more information on interpreting these metrics. For usage examples, refer to the More examples of R6 classes vignette.

Usage

diagnostics(summarize = TRUE)

Arguments

summarize

Logical indicating whether to return a summarized version of the diagnostics (default is TRUE)

Value

A data.frame object if summarize is TRUE, otherwise a list of raw diagnostics.