R/amh_loglike.R

Defines functions amh_loglike

## File Name: amh_loglike.R
## File Version: 0.07


#########################################################
# evaulate log-likelihood for amh fit
amh_loglike <- function( model, data, pars){
    ll <- do.call( model, list( pars=pars, data=data ) )
    return(ll)
}

Try the LAM package in your browser

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

LAM documentation built on May 18, 2022, 5:17 p.m.