This is the code accompanying adam hogan's slides for NYC Stats Programming Master Classes on November 6, 2013, titled "Beginner R with Adam Hogan"
The following files are represented:
- walkthrough.R
- arima.R # bonus file
- ttest.R # bonus f
- monthly-new-york-city-births.csv
- plots/
Contains an R terminal session of all the code that appears on the screen, so you can copy and paste to follow along.
These are modified versions of some code from a talk I gave a couple weeks ago. If you found the basic plotting we covered in this session interesting, take a look at arima.R. There's code in there that shows how to use ggplot to make some really spiffy confidence bounds. This incorporates opts() control, axis management, and a couple of different kinds of objects added to the plot---if you understand how to make a graphic like this, you're in really good shape!
This comes from the time-series data library and is used to illustrate arima plotting.
These are roughly the same plots used in the presentation you can compare against.