R Programming
Learn R for data analysis: vectors, data frames, the tidyverse, dplyr and ggplot2, statistics and regression, Quarto reports, Shiny and reproducible workflows.
What you'll learn
- Explain what R is for, set up R with an IDE and manage packages and projects reproducibly.
- Work with vectors, lists, factors, matrices, data frames and tibbles.
- Write R functions, use pipes and apply functions over data with base R and purrr.
- Import, clean, transform, reshape and join data with the tidyverse.
- Visualise and explore data with ggplot2, and apply descriptive statistics, hypothesis tests and regression.
- Produce reproducible reports and Shiny apps, and organise work with Git, renv, tests and packages.
Syllabus
Getting Started with R
Data Structures
Programming in R
Data Wrangling with the Tidyverse
Visualisation and Exploration
Statistics and Modelling
- Descriptive Statistics and Distributions
- Hypothesis Tests and Confidence Intervals
- Linear and Logistic Regression
Strings, Dates, Objects and Performance
- Strings with stringr and Dates with lubridate
- Functions as Objects, Environments and S3/R6 Classes
- Performance and Big Data in R