https://github.com/cran/HLSM
Tip revision: e59f1fc3b0389804e671d681b7fc639e687d4154 authored by Tracy Sweet on 01 March 2020, 06:00:06 UTC
version 0.8.2
version 0.8.2
Tip revision: e59f1fc
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')
}