plot.sreg {funfits} | R Documentation |
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.
plot.sreg(out, pch=".", main=NA)
out |
A sreg object |
pch |
Ploting symbol for data points |
main |
Title of the plot. Default is the function call. |
sreg, plot
sreg(ozone$x[,1],ozone$y)-> fit # fit sreg to ozone at longitude values plot(fit) # plot sreg fit