Introduction to R for Data Analysis

University of Utah

Date: August 29-30 2024

Time: 9:00 am – 4:00 pm MDT

Location: HELIX Rm - GS150 - Chokecherry

Instructors: Rebecca Barter, George Vega Yon

Registration: Use the following link to sign up for this workshop.

Sign up for the DELPHI mailing list to stay in the loop about future workshops and funding opportunities.

General Information

What: This workshop will introduce the basics of the R programming language for data science, with a focus on the fundamentals of the R programming language, the dplyr package for manipulating data, and the ggplot2 workshop for data visualization.

Who: The course is aimed at graduate students, postdocs, staff, faculty, and other researchers across campus who are interested in learning how to use R for data analysis. You don’t need to have coding experience or any previous knowledge of R to attend this workshop.

Requirements: Participants must bring a laptop onto which they can download R and Rstudio (and you should do so before the workshop).

Contact: Please email andrew.george@hsc.utah.edu or rebecca.barter@hsc.utah.edu for more information.

Schedule

Note that the schedule below serves as a guideline. The start, end, and break times are fixed, but timing for each topics covered may vary as we may go faster or slower through the content.

Note that morning snacks and lunch will be provided on both days.

Posit Cloud

Click here to join the Posit Cloud workspace

Download files and data

If you are working in RStudio locally (rather than using posit cloud, above) click here to download all of the complete and incomplete .qmd files and data files we will be using throughout the workshop.

Day 1

Time Topic Content
9:00 Introduction and Setup Setup content
9:45 Introduction to Coding with R Intro content
10:30 [Break]
10:45 Variables Variables content
11:30 Types Types content
12:00 [Lunch]
1:00 Vectors Vectors content
2:30 [Break]
2:45 Loading Data into R Data loading content
3:15 Data Frames with “Base R” Data frames “base R” content
4:00 [End]

Day 2

Time Topic Content
9:00 Data Frames with dplyr (select and filter) dplyr content
10:30 [Break]
10:45 Data Frames with dplyr (mutate and summarize) dplyr content
12:00 [Lunch]
1:00 Data Visualization with ggplot2 ggplot2 content
2:30 [Break]
2:45 Advanced ggplot2 ggplot2 content
4:00 [End]