Extracts from a model object the generalized Akaike Information Criterion (AIC).
# S3 method for egf
extractAIC(fit, scale, k = 2, ...)
An numeric vector of length 2 giving the equivalent degrees of freedom and criterion value.
an egf
object.
unused argument, for generic consistency.
a number giving a weight for the equivalent degrees of freedom.
k=2
and k=log(nobs(fit))
give the standard
Akaike Information Criterion and Bayesian Information Criterion.
unused optional arguments.
The generic function extractAIC
.