Demo of Curve Fitting: Linear Regression, Polynomial, and Linear and Cubic Splines
Channel: RMS Regression
Date: 2016-01-19

This is a demonstration using least squares to fit curves to points defined by the user using mouse clicks in R.  The code may be found at https://github.com/harrelfe/rscripts/blob/master/demoSpline.r and runs in ordinary R or in RStudio.