diagnoseMCMC: diagnoseMCMC

View source: R/diagnoseMCMC.R

diagnoseMCMCR Documentation

diagnoseMCMC

Description

Helpfunction to obtain MCMC diagnostic

Usage

diagnoseMCMC(
  posttheta,
  showTrace = FALSE,
  xlim = NULL,
  MEAN = NULL,
  SD = NULL,
  fitBeta = FALSE
)

Arguments

posttheta

Matrix with posterior samples (n x p)

showTrace

Whether a trace plot of samples should be shown

xlim

x-axis limits

MEAN

Mean of superimposed distribution

SD

SD of superimposed distribution

fitBeta

Whether a Beta instead of normal distribution should be superimposed


oyvble/MPSproto documentation built on March 19, 2024, 5:32 a.m.