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

A tentative syllabus for Summer 2023 can be found here.

Course Schedule and Material (From 2022)

Day 1

Introduction to the Course

Slides

R Code

Day 2

Data Manipulation I

Slides

R Code

Day 3

Data Manipulation II

Slides

R Code

Day 4

Descriptive Statistics

Slides

R Code

Day 5

Data Visualization

Slides

R Code

Day 6

Debugging 101

Lab Assignment

Slides

Day 7

Linear Models in R

R Code

Day 8

Presenting Results with R

R Code

Day 9

Simple Programming

R Code