Statistics

Statistics | Data Visualisation

One of the best things about using R is being able to make easily reproducible graphs. In particular, the package ggplot2 makes it easy to add or change lots of different features, including the type, colour, layout and style of a plot. This page shows how I would use ggplot2 to make a few different graphs, using data from the Premier League 2023-24 season.

Types of Graph