aic {smmR}R Documentation

Akaike Information Criterion (AIC)

Description

Generic function computing the Akaike Information Criterion of the model x, with the list of sequences sequences.

Usage

aic(x, sequences = NULL)

Arguments

x

An object for which there exists a loglik attribute if sequences = NULL or a loglik method otherwise.

sequences

Optional. A list of vectors representing the sequences for which the AIC will be computed based on x using the method loglik.

Value

Value of the AIC.


[Package smmR version 1.0.3 Index]