R/reglca_freq_ll.R

Defines functions reglca_freq_ll

## File Name: reglca_freq_ll.R
## File Version: 0.161

reglca_freq_ll <- function(x, C, W, eps=1e-20)
{
    res <- sum( C * cdm_log(x, eps) + W * cdm_log( 1-x, eps) )
    return(res)
}

Try the CDM package in your browser

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

CDM documentation built on Aug. 25, 2022, 5:08 p.m.