https://github.com/cran/HLSM
Tip revision: 281f55f9f8ae3be814d154729507a7fb494e8a92 authored by Tracy Sweet on 06 December 2021, 12:00:02 UTC
version 0.9.0
version 0.9.0
Tip revision: 281f55f
plotLikelihood.R
HLSMplotLikelihood = 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')
}