Data Visualisation with R - Online
Date:
27/11/2024
Organised by:
NCRM, University of Southampton
Presenter:
Dr Sophie Lee
Level:
Intermediate (some prior knowledge)
Contact:
Jacqui Thorp
Training and Capacity Building Coordinator, National Centre for Research Methods, University of Southampton
Email: jmh6@soton.ac.uk
Venue: Online
Description:
Data visualisation is one of the most important steps in any analysis journey. Visualisations allow us to explore our data, identify errors and outliers, generate hypotheses about possible relationships between variables, and communicate results clearly and efficiently. ggplot2 is a powerful R package that was designed to create publication-quality graphics in seconds. The joy of ggplot2 is its flexibility: graphs are built in layers which can be easily customised, ensuring novel plots to fit almost any situation.
This online course will introduce the ggplot2 package and its underlying grammar of graphics. Participants will understand how to choose the most appropriate type of visualisation, based on the type and number of variables, and the intention of the plot. We will then build visualisations, layer by customisable layer, to transform simple plots into beautiful, informative graphics.
The course covers:
- How to load, tidy, and prepare data for visualisation
- Introduction to ggplot2: how to produce a simple graph
- Enhance visualisations by customising layers: scales, themes, and annotations
- Faceting: multiple visualisations in one place
- Creating personalised colour palettes and themes for consistent visualisations
By the end of the course participants will:
- Create compelling, clear data visualisations using the ggplot2 package
- Be able to customise graphs using scale and theme functions
- Know how to add annotations to graphs to make them as clear as possible
- Know when to facet graphs to show multiple plots on the same graph
- Save personalised colour palettes and theme functions to ensure visualisations are consistent
This course is open to anyone that would like to level up their data visualisation using the ggplot2 package. This could include PhD students, academics, government or other public sector analysts, etc. from any discipline. Participants are expected to have some experience of loading and tidying data in RStudio using Tidyverse packages.
Participants will need R and RStudio installed on their computer. They will need to check that they are able to install packages from the online R repository (this is usually not an issue but some departments with secure data may have issues if they require an administrator password to install things to their machine). For this, participants can run the following code which will install and load the package we are using to their computer:
- install.packages("tidyverse")
- library(tidyverse)
This course will run from 10am to 4pm on Wednesday 27 November 2024
Cost:
The fee per teaching day is: £35 for students registered at any University / £75 for staff at academic institutions, Research Councils researchers, public sector staff and staff at registered charity organisations and recognised research institutions / £250 for all other participants.
In the event of cancellation by the delegate a full refund of the course fee is available up to two weeks prior to the course. NO refunds are available after this date. If it is no longer possible to run a course due to circumstances beyond its control, NCRM reserves the right to cancel the course at its sole discretion at any time prior to the event. In this event every effort will be made to reschedule the course. If this is not possible or the new date is inconvenient a full refund of the course fee will be given. NCRM shall not be liable for any costs, losses or expenses that may be incurred as a result of its cancellation of a course, including but not limited to any travel or accommodation costs. The University of Southampton’s Online Store T&Cs also continue to apply.
Website and registration:
Region:
South East
Keywords:
Quantitative Software, R, Creating graphs and charts, Data visualisation, Data Exploration
Related publications and presentations from our eprints archive:
Quantitative Software
R
Creating graphs and charts