diagnoseModels: Diangose _mcmcglmm_ model autocorrelation, convergence and...

View source: R/diagnoseModels.R

diagnoseModelsR Documentation

Diangose mcmcglmm model autocorrelation, convergence and effective sample size.

Description

Return model diagnostics on posterior distribuion autocorrelation, convergence and effective sample size using functions from the coda package. See coda documentation for further information on the procedure.

Usage

diagnoseModels(model, verbose = F)

Arguments

model

(Mcmcglmm model)

verbose

(logical) If TRUE, the function prompts diagnostics as they are evaluated.

Value

Model diagnostics summary

Examples

## Not run: 
# Diagnose mcmcglmm model
model_diagnostics <- diagnoseModels(model)

## End(Not run)

pablosanchezmart/TrEvol documentation built on April 23, 2024, 4:05 p.m.