AIC.dsmodel: Akaike's An Information Criterion for detection functions

View source: R/AIC.dsmodel.R

AIC.dsmodelR Documentation

Akaike's An Information Criterion for detection functions

Description

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(s)

David L Miller

Examples

## Not run: 
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)

## End(Not run)

Distance documentation built on Oct. 24, 2024, 5:08 p.m.