Effects plotting. R Code

Adds an example script of how the model is fit in R.
Adds a plotting routine to show the results of the linear model.