quantchem (version 0.13)

AIC.cal: Akaike's An Information Criterion for calibration models

Description

This function computes a table of AIC values for given object inheriting from class 'cal' ('lmcal' and 'nlscal').

Usage

"AIC"(object, ..., k = 2)

Arguments

object
a fitted calibration model of class 'lmcal' or 'nlscal'
...
additional arguments (ignored)
k
the k parameter, for more information see AIC

Value

A matrix with AIC values for each fitted model.

See Also

lmcal, nlscal

Examples

data(ibuprofen)
attach(ibuprofen)
fit = lmcal(conc,area)
AIC(fit)
fit = nlscal(conc,area)
AIC(fit)