Learn R Programming

mrds (version 2.3.0)

logLik.ddf: log-likelihood value for a fitted detection function

Description

Extract the log-likelihood from a fitted detection function.

Usage

# S3 method for ddf
logLik(object, ...)

Value

a numeric value giving the log-likelihood with two attributes: "df" the "degrees of freedom" for the model (number of parameters) and "nobs" the number of observations used to fit the model

Arguments

object

a fitted detection function model object

...

included for S3 completeness, but ignored

Author

David L Miller