R/neglogLik.R

Defines functions neglogLik

Documented in neglogLik

neglogLik <- function(params, object, pmap){
    object <- pmap(object, params)
    return(-logLik(object))
}

Try the HiddenMarkov package in your browser

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

HiddenMarkov documentation built on April 27, 2021, 5:06 p.m.