Create analysis.R

This file fits under the RStudio project folder in my code but I wanted to get it posted this morning so that it people can see it.