Plots smoothing spline regression object

Usage

plot.sreg(out, pch=".", main=NA)

Arguments

out A sreg object
pch Ploting symbol for data points
main Title of the plot. Default is the function call.

Description

This function creates three summary plots of the sreg object. The first plot is a plot of the sreg fit to the data. The second is predicted values vs residuals, and the third is effective number of parameters vs estimated average squared prediction errors.

See Also

sreg, plot

Examples

sreg(ozone$x[,1],ozone$y)-> fit # fit sreg to ozone at longitude values
plot(fit)                       # plot sreg fit


[Package Contents]