cpplot {locfit}R Documentation

Compute a Cp plot.

Usage

cpplot(..., alpha, sig2)

Value

An object with class "gcvplot", containing the smoothing parameters and CP scores. The actual plot is produced using plot.gcvplot.

See Also

locfit, locfit.raw, gcv, aic, plot.gcvplot

Examples

data(ethanol)
plot(cpplot(NOx~E,data=ethanol,alpha=seq(0.2,1.0,by=0.05)))