About
Fitting splines in R is easy: bs(x, …) for any degree splines (one: linear spline, three: cubic spline and ns(x, …) for natural cubic splines, in package package=splines.
Fitting splines in R is easy: bs(x, …) for any degree splines (one: linear spline, three: cubic spline and ns(x, …) for natural cubic splines, in package package=splines.