Some data and some R code to analyze the data. There are many ways to accomplish this in R. I did it my way. Like Frank Sinatra.