Misc R source as I go through the Johns Hopkins Coursera Course