R/plotLikelihood.R

Defines functions HLSMplotLikelihood

Documented in HLSMplotLikelihood

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')
}

Try the HLSM package in your browser

Any scripts or data that you put into this service are public.

HLSM documentation built on Dec. 11, 2021, 9:43 a.m.