Published October 6, 2022 | Version v1
Presentation Open

Visualisation and Data Structure

  • 1. University of Edinburgh

Description

What is the grammar of graphics? It is a tool that enables us to concisely describe the components of a graphic and provides a strong foundation for understanding a diverse range of graphics. If you’re familiar with it, you may know the basic structure of a call to the ggplot() function. You can check out the visualization and data structure lecture for an introduction to the package. When you call ggplot, you should provide a data source, usually a data frame or tibble. Afterwards, you can build  ggplot different mapping variables in your data source to different aesthetics. For example, there are colourshapesize of points, the position of the x or y-axis, and so on.  On the other hand, Tidy data refers to data arranged to make data processing, analysis, and visualization simpler.

Files

OliveiraTP_ggplot2.pdf

Files (12.3 MB)

Name Size Download all
md5:f3e405de263b363dfb325ad75d0c9f72
5.5 MB Preview Download
md5:bf52ed3bf9322ee0fd750570bffbb440
6.8 MB Preview Download