Nothing
plotConvergence = function(res, title="") {
if(! "log_lik_trace" %in% names(res))
stop("Need entry log_lik_trace!")
if(! "nburnin" %in% names(res))
stop("Need entry nburnin!")
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=res$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.