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

Description Usage Arguments Author(s) Examples

View source: R/AIC.dsmodel.R

Description

Extract the AIC from a fitted detection function.

Usage

1
2
## 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

1
2
3
4
5
6
7
8
9
## 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 Jan. 13, 2021, 10:43 p.m.