https://github.com/cran/HLSM
Tip revision: d08047ef0a022d4fbbbc4a39dc597565dd2aa07d authored by Samrachana Adhikari on 19 October 2016, 22:35:29 UTC
version 0.6
version 0.6
Tip revision: d08047e
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')
}