An interactive introduction to data analysis with R

Hello! Let's learn !

In this course, you'll learn the basics of using R for data analysis. This should provide you with the necessary skills to use R when learning more advanced and specialised topics. You don't need any prior experience with R, statistics, or programming to work through this material, however if you already have some experience you can start from any chapter you'd like to learn from.

Chapter 1: Getting started with R & RStudio

This chapter will teach you about many cool things about R and RStudio and help you get start with RStudio.

Chapter 2: R programming basics

In R Programming Basics, you will master the basic operations of this popular open source language. You will also learn to perform simple algebraic operations on vectors and matrices. You will also learn about data frames, conditional statements, loops, and functions to power your R code, making your work more efficient and elegant.

Chapter 3: Troubleshooting and asking for help

With coding comes bugs and errors that need troubleshooting. In this chapter, you will learn how to decipher errors, find help for fixing them, and practice asking clear questions with minimally reproducible examples.

Chapter 4: Project structure and importing data

This chapter will teach you the basic project structure and good practice of project management in R. You will also learn how to import data from different sources including csv files, excel files and files hosted online.

Chapter 5: Data wrangling with R

In this chapter, you will learn to use tidyr and dplyr from the tidyverse in R for tidying your data set and data maniplulation.

Chapter 6: Data visualisation with R

This chapter will give you an introduction to the R graphics system and teach you how to get started with using the ggplot2 package for drawing all kind of plots.

Chapter 7: Linear regression with R

This chapter demonstrates how to fit linear models in R. You'll learn about how to fitting simple linear regression, models with categorical variables and interaction effects, and visualising models with ggplot2.

Chapter 8: R Markdown basics

This chapter will teach you the basics of R Markdown and how it can make your student life easlier.

About this course

A website with materials to help you learn R and use it to explore data. No prior experience in programming, statistics, or data is required to work through these materials. These materials were developed to prepare our students for our courses that expect some familiarity of R and data analysis.

About us

Monash University Logo

This course is brought to you by the team at Monash University, Department of Econometrics and Business Statistics. You can find the full list of contributors in the link 'Contributors' at the footer of this site.