gamma_ADFun: Create a 'TMB::ADFun' object for the gamma likelihood.

View source: R/gamma_ADFun.R

gamma_ADFunR Documentation

Create a TMB::ADFun object for the gamma likelihood.

Description

Create a TMB::ADFun object for the gamma likelihood.

Usage

gamma_ADFun(x)

Arguments

x

Vector of observations.

Value

A list as returned by TMB::MakeADFun representing the negative loglikelihood of a gamma distribution.


mlysy/RcppTMBTest documentation built on March 25, 2022, 2:37 p.m.