Nothing
# TODO: Add comment
#
# Author: benderc
###############################################################################
## use inhibMCMC output and get mcmc diagnostic, from gelman 2003
gelman_diag <- function(ret) {
lst <- list()
for(i in 1:ncol(ret$ltraces)) {
lst[[i]] <- mcmc(data=ret$ltraces[,i])
}
obj <- as.mcmc.list(lst)
gelman.diag(obj)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.