I'm fitting a natural basis spline on a data set of the form:
splineModel=lm(dist~bs(speed, df=3), data=cars)
bs function of
spline package. I would like to know whether is possible to print the actual spline equations fitted (the tracing) within each knot. I would like to have the coefficients of all piecewise fitted polynomials.