R/cdm_calc_ll_with_counts.R

Defines functions cdm_calc_ll_with_counts

## File Name: cdm_calc_ll_with_counts.R
## File Version: 0.03

cdm_calc_ll_with_counts <- function( an.ik, pjk, eps=1E-20 )
{
    colSums( colSums( an.ik * log(pjk+eps) ))
}

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.