Visualising data using R
- This is not an introduction to R
- Visualisation is a useful way of representing data
- We are going to study diamonds!
- Plots in ggplot2 are build by adding layers
- Data can be plottet as something other than position
- Types of plots are determined by
geom_functions
- Categorical data, aka factors can control the order of data in
plots
- ggplot makes it easy to make many different types of plots
- ggplot have many useful extensions
- Facetting can make busy plots more understandable
- Grid facetting in two dimensions allows us to plot even more
variables
- Pie charts are a bad idea!
- Zooming might exclude data if done wrong
- Play around to find the colours you like
- EVERYTHING in the plot can be customized
- ggplot2 is extensible - a LOT of extensions are available