aic: Akaike Information Criterion (AIC)

Description Usage Arguments Value

View source: R/allgenerics.R

Description

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

Usage

1
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.


smmR documentation built on Aug. 3, 2021, 5:07 p.m.