11.1 Visualisation Setup
20200608 Packages used in this chapter include GGally (Schloerke et al. 2025), RColorBrewer (Neuwirth 2022), colorRamps (Keitt 2024), dplyr (Wickham, François, et al. 2026), epitools (Aragon 2020), geomtextpath (Cameron and van den Brand 2025), ggblanket (Hodge 2026), ggplot2 (Wickham, Chang, et al. 2026), lubridate (Spinu, Grolemund, and Wickham 2026), patchwork (Pedersen 2025), randomForest (Breiman et al. 2024), scales (Wickham, Pedersen, and Seidel 2025), stringr (Wickham 2025), tidyr (Wickham, Vaughan, and Girlich 2025), magrittr (Bache and Wickham 2026), and rattle (G. Williams 2026).
Packages are loaded into the currently running R session from your
local library directories on disk. Missing packages can be installed
using utils::install.packages() within R. On Ubuntu, for
example, R packages can also be installed using $ wajig install r-cran-<pkgname>.
# Load required packages from local library into the R session.
library(GGally) # Pairs plots.
library(RColorBrewer) # Brew various colour ranges.
library(colorRamps) # Generate colour ranges: blue2green2red().
library(dplyr) # glimpse().
library(epitools) # Colour selection: colors.plot().
library(geomtextpath) # Flexible text placement.
library(ggblanket) # A comfortable wrapper for ggplot.
library(ggplot2) # Visualise data.
library(lubridate) # Tidy dates and time.
library(patchwork) # Plot themes, alignment, arrangement.
library(scales) # commas(), percent().
library(stringr) # str_replace_all().
library(tidyr) # Tidy the dataset: pivot_longer().
library(rattle) # Dataset weatherAUS.References
If you find this curated material useful then you can consider a donation to support it's ongoing availability and give you access to the PDF version of this book. The material has been scoped up by Generative AI without permission or any kind of recompense so do consider a donation if you can afford it. Unlike Generative AI your access to this materials is freely given. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Togaware has a 30 year tradition of making popular open source software which includes sold privacy preserving productivity apps, rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0