Good Data Visualisation with R

In person
This course will focus on developing practical skills for visualising data in R, primarily using the ggplot2 package.
The first session offers an introduction to the ggplot2 package and a practical demonstration of the package. It focuses on topics such as:
Ggplot2 syntax
Basic plots with ggplot2
Deeper customisation of plots, including labels, colour maps, and re-sizing/re-positioning legends
Exporting plots
The second session focusses on some principles for using data visualisation in research. A more freeform practical exercise with example data is then offered, and attendees can attempt to replicate and improve visualisations. This covers processes that include:
Different types of plots and when and where each might be best used
The pitfalls of misleading data visualisation
Introduction to some more advanced visualisation possibilities
The course will ultimately help to develop a foundational understanding of Visualisation in R. Crucially, this will foster a familiarity with the principles of data visualisation and the capabilities of the software, allowing attendees to confidently apply these, or indeed seek out new concepts for their current and future research.
This course will be taught by Rhys Davies and Alex Crest.
After taking part in this event, you may decide that you need some further help in applying what you have learnt to your research. If so, you can book a Data Surgery meeting with one of our training fellows.
More details about Data Surgeries.
Those who have registered to take part will receive an email with full details on how to get ready for this course.
If you’re new to this training event format, or to CDCS training events in general, read more on what to expect from CDCS training. Here you will also find details of our cancellation and no-show policy, which applies to this event.
Level
Students must have a basic background in R. This includes, at least the basic data types in R, how to install and load packages, and how to use functions, pipes, and apply/map functions. It will be sufficient for students to have taken the Introduction to Programming with R and RStudio course.
Learning Outcomes
How to create and customise plots with R and ggplot
Familiarising ourselves with the grammar of graphics to inform plot design
Learning how to visually communicate statistical analyses
How to use R to create interactive plots
Skills
Familiarity with using packages from the Tidyverse
Building graphs using Ggplot and Plotly
Create and run code via R-Markdown
Explore More Training
- Analysing Spatial Dynamics with GIS and R
- Getting Started with Regression in R
- Comparing Sentiment Analysis Models in R
- Linear Mixed Effects Modelling
Return to the Training Homepage to see other available events
Room 4.35, Edinburgh Futures Institute
This room is on Level 4, in the North East side of the building.
When you enter via the level 2 East entrance on Middle Meadow Walk, the room will be on the 4th floor straight ahead.
When you enter via the level 2 North entrance on Lauriston Place underneath the clock tower, the room will be on the 4th floor to your left.
When you enter via the level 0 South entrance on Porters Walk (opposite Tribe Yoga), the room will be on the 4th floor to your right.












