Skip to contents

Extract the AIC from a fitted detection function.

Usage

# S3 method for class 'dsmodel'
AIC(object, ..., k = 2)

Arguments

object

a fitted detection function object

...

optionally more fitted model objects.

k

penalty per parameter to be used; the default k = 2 is the "classical" AIC

Author

David L Miller

Examples

if (FALSE) { # \dontrun{
library(Distance)
data(minke)
model <- ds(minke, truncation=4)
model_hr <- ds(minke, truncation=4, key="hr")
# extract the AIC for 2 models
AIC(model, model_hr)
} # }