https://github.com/cran/HLSM
Tip revision: 0cbfacf5507aaadca878cadc20547907d4afeb4a authored by Samrachana Adhikari on 15 November 2015, 22:26:54 UTC
version 0.5
version 0.5
Tip revision: 0cbfacf
plotLikelihood.R
plotLikelihood = function(object,burnin = 0, thin = 1){
if(class(object) != 'HLSM')(stop("object must be of class HLSM"))
xx = getLikelihood(object, burnin = burnin, thin = thin)
plot(xx,type='l', main = 'Log-likelihood from MCMC draws',ylab = 'estimated log-likelihood')
}