AARUG Beginner R Workshop

Lessons:

  1. Lesson 01 What is R?
  2. Lesson 02 Vectors and data types
  3. Lesson 03 Data frames
  4. Lesson 04 Packages & R Markdown
  5. Lesson 05 Herding Cats with dplyr
  6. Lesson 06 Data visualisation with ggplot2
  7. Lesson 07 Statistics

Data

The small Herding Cats dataset is available here

The full Herding Cats dataset is available here

The Old Faithful dataset for the optional takehome is available here

Takehome

There is an optional takehome assignment available here.

Socrative

We will use Socrative to work through exercises during the workshop

Student login: https://b.socrative.com/login/student/

classroom: HHUCRA83F

Slack

We will use Slack to communicate during the workshop. The AARUG slack group is also a valuable resource for hearing about R-related events and announcements and receiving help on your R code.

Request to join the AARUG slack group: http://annarborrusergroup.github.io/slack/

Requirements

These lessons assume no prior knowledge of the skills or tools, but working through this lesson requires working copies of the software described below. To most effectively use these materials, please make sure to install everything before working through this lesson.

R

R is a programming language that is especially powerful for data exploration, visualization, and statistical analysis. To interact with R, we use RStudio.

Windows

Install R by downloading and running this .exe file from CRAN. Also, please install the RStudio IDE.

Mac OS X

Install R by downloading and running this .pkg file from CRAN. Also, please install the RStudio IDE.

Linux

You can download the binary files for your distribution from CRAN. Or you can use your package manager (e.g. for Debian/Ubuntu run sudo apt-get install r-base and for Fedora run sudo yum install R). Also, please install the RStudio IDE.

Contributors:

Lesson plans were adapted from Software Carpentry and Data Carpentry lessons

Contributors include: Michelle Berry, Ellis Valentiner, Rob Weyant, Clayton Yochum, Andrew Moore