Learn R Programming

santaR (version 1.2.4)

AIC_smooth_spline: Calculate the Akaike Information Criterion for a smooth.spline

Description

Calculate the Akaike Information Criterion (AIC) for a fitted smooth.spline. The smaller the AIC, the better the spline fit.

Usage

AIC_smooth_spline(fittedSmoothSpline)

Value

The AIC value.

Arguments

fittedSmoothSpline

A fitted smooth.spline