CME/STATS 195 Introduction to R

Logo

Stanford introductory course on programming in R.

Home

Material

Assignments

Installation

Resources

Lectures

Slides

Communicating and Programming:
Lecture 1: Introduction to R. [html] [pdf]
Lecture 2: Communicating with R Markdown. Elements of programming in R. [html] [pdf]

Exploring data:
Lecture 3: Importing and transforming data. [html] [pdf]
Lecture 4: Visualizing data. [html] [pdf]
Lecture 5: Exploratory Data Analysis (EDA). [html] [pdf]

Modeling data:
Lecture 6: Data modeling and linear regression. [html] [pdf]
Lecture 7: Hypothesis testing and classification. [html] [pdf]
Lecture 8: Unsupervised techniques in R. [html] [pdf]

Disclaimer: these lecture slides are subject to change and can be updated any time. Please check regularly.

Exercises

Exercise 1: [html] [rmd] [solutions]
Exercise 2: [html] [rmd] [solutions]
Exercise 3: [html] [rmd] [solutions]
Exercise 4: [html] [rmd][solutions]
Exercise 5: [html] [rmd] [solutions]
Exercise 6: [html] [rmd][solutions]
Exercise 7: [html] [rmd] [solutions]
Exercise 8: [html] [rmd] [solutions]

Introductory Tutorials

Tutorials might include bugs, or some unclear hints. Please, let me know if you encounter any mistakes in the tutorials so I can fix them.

back