Introduction to the R

Statistical Environment

ICPSR Summer Program

Session II


This is a class designed to introduce you to the basics of the R statistical Environment. This is a free, open-source statistical program used by many fields in academia and in industry. R is flexible and has a wide range of uses. By the end of this course, you should be able to:


• Understand the workflow in R using R Studio
• Know the basic structure and logic of the R programming language
• Perform data management with R
• Calculate and interpret descriptive statistics in R
• Use data visualization tools such as base plot and ggplot
• Be familiar with the tidyverse suite of tools for data management and data visualization • Perform simple linear regression in R
• Understand simple programming in R

The syllabus for Summer 2024 can be found here.

Course Schedule and Material (From 2024)

Day 1

Introduction to the Course

Slides

R Code

Day 2

Data Manipulation

Slides

R Code

Day 3

Descriptive Statistics and Data Visualization

Slides

R Code

Day 4

Linear Models and Lab Day

Slides

R Code

Day 5

Simple Programming, Review, and Wrap-up

R Code

Bonus Content

Presenting Results

R Code