https://github.com/cran/HLSM
Tip revision: c9af23eaea43a10ec3a4129404c6df71182ea949 authored by Samrachana Adhikari on 18 June 2014, 00:00:00 UTC
version 0.4
version 0.4
Tip revision: c9af23e
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')
}