Skip to Main Content
It looks like you're using Internet Explorer 11 or older. This website works best with modern browsers such as the latest versions of Chrome, Firefox, Safari, and Edge. If you continue with this browser, you may see unexpected results.

R for Beginners

Guide for the workshop Using R for Data Wrangling, Analysis, and Visualization

Pre-survey & Workshop Evaluation

Please fill the pre-survey and evaluation to help us understand your expectations and thoughts about the workshops. 

Workshop Agenda

Thursday, January 20th, 2:00 - 4:00 PM

Content Covered

  1. R and RStudio Installation

  2. More about RStudio - interface, projects, working directory

  3. R package installation

  4. Objects, functions, and comments

  5. Vectors and data types

  6. Missing data

Details

Installation for PC
  1. Download R from https://cran.r-project.org/bin/windows/base/
  2. Download RStudio at https://www.rstudio.com/products/rstudio/download/#download
Installation for Mac
  1. Check your version number and make sure to download the correct version of R/RStudio.

  2. Download R from https://cran.r-project.org/bin/macosx/, and select the .pkg link based on your macOS version.

  3. Download RStudio at https://www.rstudio.com/products/rstudio/download/#download

R & RStudio Installation Guidance
Course Materials
Additional Resources
Recording

Thursday, January 27th, 2:00 - 4:00 PM

Content Covered

  1. Data frames and tibbles

  2. Factors

  3. Dates

Details

About the Dataset

The data used for this lesson are in the figshare repository at: https://figshare.com/articles/SAFI_Survey_Results/6262019

This lesson uses SAFI_clean.csv. The direct download link for this file is: https://ndownloader.figshare.com/files/11492171

Course Materials
Extra Materials
Recording

Thursday, February 3rd, 2:00 - 4:00 PM

Content Covered

  1. Data wrangling with dplyr
  2. Reformat data with tidyr
  3. Export data

Details

Course Materials
Extra Materials

Thursday, February 10th, 2:00 - 4:00 PM

Content Covered

  1. About ggplot
  2. Building your plots iteratively
  3. Boxplots
  4. Bar charts
  5. Faceting

Details

Course Materials
Extra Materials
Recording

Popular Style Guides for R