kstar_MCMCdiag: Perform MCMC diagnostics for kstar

View source: R/NewUpdates_v2.R

kstar_MCMCdiagR Documentation

Perform MCMC diagnostics for kstar

Description

A helper function to perform MCMC diagnostics for kstar

Usage

kstar_MCMCdiag(kstar, nrun, burn, thin)

Arguments

kstar

the vector output of kstar from running the DPMPM model

nrun

number of MCMC iterations used in running the DPMPM model

burn

number of burn-in iterations used in running the DPMPM model

thin

number of thinning used in running the DPMPM model

Value

Traceplot

the traceplot of kstar post burn-in and thinning

Autocorrplot

the autocorrelation plot of kstar post burn-in and thinning


NPBayesImputeCat documentation built on Oct. 3, 2022, 5:05 p.m.