Email Record: Implementing linear regression algorithm in R.