Data Analytics – Section 1

Intro to R and R studio

The slide deck for Intro to R has been posted under Slide Decks.

Make sure you have this handy for class and take additional notes!

Here’s the BaseballAnalysis.r script and the 2009BaseballTeamStats.csv data file presented in the slides. To try it for yourself:

  1. Download both files to a folder on your computer.
  2. Open RStudio.
  3. Select the Session menu, choose Set Working Directory/To Source Files Location.
  4. Select the Code menu, choose Run Region/Run All.
  5. Watch the magic happen!

Leave a Reply

Your email address will not be published. Required fields are marked *