Regression splines and linear regression


I have a working version of a program I intend to use for teaching. The aim is to demonstrate the sensitivity to the number and locations of knots when using spline functions in linear regression.

A brief description and video can be found here

And the code can be found here.

Happy to receive any feedback.