Learn R Programming

moveHMM (version 1.0)

AIC.moveHMM: AIC

Description

Akaike information criterion of a moveHMM model.

Usage

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

Arguments

object
A moveHMM object.
...
Optional additional moveHMM objects, to compare AICs of the different models.
k
Penalty per parameter. Default: 2 ; for classical AIC.

Value

  • The AIC of the model(s) provided. If several models are provided, the AICs are output in ascending order.

Examples

Run this code
# m is a moveHMM object (as returned by fitHMM), automatically loaded with the package
m <- example$m
AIC(m)

Run the code above in your browser using DataLab