Learn R Programming

epigrowthfit (version 0.15.4)

extractAIC.egf: Extract the (Generalized) AIC

Description

Extracts from a model object the generalized Akaike Information Criterion (AIC).

Usage

# S3 method for egf
extractAIC(fit, scale, k = 2, ...)

Value

An numeric vector of length 2 giving the equivalent degrees of freedom and criterion value.

Arguments

fit

an egf object.

scale

unused argument, for generic consistency.

k

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.

See Also

The generic function extractAIC.