Learn R Programming

functClust (version 0.1.6)

AIC_: AIC of two numeric vectors

Description

Take two numeric vectors and return the Akaike Information Criterion (AIC). AIC is computed from the Residuals Sum of Square rss and the number of used parameters.

Usage

AIC_(x, y, nbK)

Arguments

x, y

two numeric vectors of same length.

nbK

an integer. nbK is the number of used parameters. nbK > 1 : returns NA if not.

Value

Return the Akaike Information Criterion (AIC).

Details

None.