knitr::opts_chunk$set(collapse = TRUE, comment = "#>", fig.path = "README-")
This page provides materials and practicals of the data visualisation course held at the University of Bristol, November 2019.
BristolVis
packageThe 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:
Inroduction to Shiny: Slides - Exercises 1 - Exercises 2 - Exercises 3 - Exercises 4.
Other useful materilas:
ggplot2
package.shiny
package.BristolVis
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.