[R] smoothing splines and degrees of freedom

Steven Shechter sms13+ at pitt.edu
Sat Jun 24 17:35:16 CEST 2006

If I set df=2 in my smooth.spline function, is that equivalent to running
a linear regression through my data?  It appears that df=# of data points
gives the interpolating spline and that df = 2 gives the linear
regression, but I just want to confirm this.

Thank you,

More information about the R-help mailing list