plot.gcvplot: Produce a cross-validation plot.

Description Usage Arguments See Also Examples

Description

Plots the value of the GCV (or other statistic) in a gcvplot object against the degrees of freedom of the fit.

Usage

1
2
## S3 method for class 'gcvplot'
plot(x, xlab = "Fitted DF", ylab = x$cri, ...)

Arguments

x

A gcvplot object, produced by gcvplot, aicplot etc.

xlab

Text label for the x axis.

ylab

Text label for the y axis.

...

Other arguments to plot .

See Also

locfit, locfit.raw, gcv, aicplot, cpplot, gcvplot, lcvplot

Examples

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

Example output

locfit 1.5-9.1 	 2013-03-22

locfit documentation built on May 29, 2017, 10:24 a.m.

Related to plot.gcvplot in locfit...