Promoting the use of R in the NHS


Keep data tidy: A plea to data publishers and developers

My colleague recently blogged about a “wrangle free world”. This is the notion that a significant proportion of analytical time is devoted to cleaning, reshaping and reorganising data so it is ready for analysis, rather than analysing it, and that this effort would be significantly reduced if data were made…


simpler SQL with dplyr

comparing dplyr with SQL nested queries Following on from my last post, where I demonstrated R to some first time […]

Violin and density plots in ggplot2

Violin Plots This chart is a combination of a Box Plot and a Density Plo that is rotated and placed on each side, […]

Pareto Chart in ggplot2

Background of Pareto Charts A Pareto chart, named after Vilfredo Pareto, is a type of chart that contains both bars and a line graph, where individual […]

Histogram with auto binning in ggplot2

Histograms (with auto binning) Again, we will use the mtcars dataset and use the fields in that to produce the […]

Diverging Dot Plot and Lollipop Charts – Plotting Variance with ggplot2

Creating the Dot Plot Variance chart The data preparation was used in the previous blog entitled: Diverging Bar Charts – Plotting […]

Diverging Bar Charts – Plotting Variance with ggplot2

Diverging Bar Charts The aim here is to create a diverging bar chart that shows variance above and below an […]