Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.gcvplot

Produce a cross-validation plot.


Description

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

Usage

## 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

Examples

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

locfit

Local Regression, Likelihood and Density Estimation

v1.5-9.4
GPL (>= 2)
Authors
Catherine Loader [aut], Jiayang Sun [ctb], Lucent Technologies [cph], Andy Liaw [cre]
Initial release
2020-03-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.