R/getLL.R

Defines functions getLL

Documented in getLL

getLL <- function(rp) {
    if(any(rp$llc <= 0)) -Inf else sum(log(rp$llc))
}

Try the eglhmm package in your browser

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

eglhmm documentation built on May 29, 2024, 1:20 a.m.