Skip to content
Prev 140185 / 398506 Next

Great difference for piecewise linear function between R and SAS

On 3/24/2008 9:03 AM, zhijie zhang wrote:
I would use predict() instead.  What you have there doesn't look as
though it uses the B-spline basis.

The reference given in the ?bs help page is a reasonable starting point,
but just about any book that covers splines should handle the B-spline
basis and the linear case.

Duncan Murdoch