This page provides materials and practicals of the data visualisation course held at the University of Bristol, November 2019.
The course uses a variety of data examples, R packages and practical sheets. The easiest way of downloading and installing all dependencies is to install the R package associated with this course, named 'BristolVis'. It can be simply installed by running the following code lines into your R session.
install.packages("drat")
drat::addRepo("statcourses")
install.packages("BristolVis")
-
Introduction to R: Slides - R script - Exercises - Solutions.
-
Advanced graphics: Slides - R script - Exercises - Solutions.
-
More on advanced graphics: Slides - R script - Exercises - Solutions.
-
Interactive plots: Slides - R script - Exercises - Solutions.
-
Inroduction to R Markdown: Slides - Exercises - Solutions are as follows:
- Exercise 1: Rmd file, html output, pdf output, word output.
- Exercise 2: Rmd file, html output, pdf output, word output.
- Exercise 3: Rmd file, html output, pdf output, word output.
- Exercise 4: Rmd file, html output, pdf output, word output.
- Exercise 5: Rmd file, html output
-
Inroduction to Shiny: Slides - Exercises 1 - Exercises 2 - Exercises 3 - Exercises 4.
-
Other useful materilas:
- The R reference card summarises basic concepts of R.
- The R studio cheat sheet for the ggplot2 summarises functions of the
ggplot2
package. - The R studio cheat sheet for web applications summarises functions of the
shiny
package.
The practical exercises and their solutions can be displayed via the BristolVis
package using:
vignette("prac_IntroR", package = "BristolVis")
vignette("prac_base", package = "BristolVis")
vignette("prac_advanced", package = "BristolVis")
vignette("prac_AdvMore", package = "BristolVis")
vignette("prac_interactive", package = "BristolVis")
vignette("prac_RMarkdown", package = "BristolVis")
vignette("prac1_shiny", package = "BristolVis")
vignette("prac2_shiny", package = "BristolVis")
vignette("prac3_shiny", package = "BristolVis")
vignette("prac4_shiny", package = "BristolVis")
Solutions of some of these practical exercises can be displayed via the BristolVis
package as follows:
vignette("ans_IntroR", package = "BristolVis")
vignette("ans_base", package = "BristolVis")
vignette("ans_advanced", package = "BristolVis")
vignette("ans_AdvMore", package = "BristolVis")
vignette("ans_interactive", package = "BristolVis")
-
You can view the entire set of courses delivered by Osama Mahmoud and their associated R packages from his personal website and the stat-courses website.
-
You can view the github page created by Chris Penfold for the R Markdown materials associated with this course from here.
-
A shiny application developed by Luke McGuinness can be viewed from here.