Nothing
plotConvergence = function(res, nburnin=NULL, title="") {
if(! "log_lik_trace" %in% names(res))
stop("Need entry log_lik_trace!")
if(is.null(nburnin))
stop("nburnin must not be a NULL!")
take = which(res$log_lik_trace != Inf)
if(length(take) > 0){
plot(take, res$log_lik_trace[take], type="l", main=paste("log-likelihood along MCMC sampling", title), xlab="step", ylab="log likelihood")
abline(v=nburnin, lty=3)
}
}
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.