Promoting the use of R in the NHS

Author: Gary Hutson

About Gary Hutson

A simple function to create nice correlation plots

The problem I was working with a dataset where I wanted to assess the correlation of different variables in R. […]

Text Mining – Term Frequency analysis and Word Cloud creation

Text Mining – Term Frequency analysis and Word Cloud creation in R Analysing the pre-conference workshop sentiments Loading in the […]

A simple function to install and load packages in R

I was starting to despair at the amount of packages I end up using during the task of transforming, cleaning, […]

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 […]