R BlogsGary Hutson30/01/20190 Outpatient scatter charts: Analysing new and follow up activity with gganimate I was inspired by my friend John Mackintosh to have a muck around with the fabulous gganimate. I have to say….…
R BlogsGary Hutson29/01/20190 NHS-R Community: Up the R-evolution It seems like two seconds ago since I was frantically preparing slides for the first NHS community. Wow – what an…
General musings!Gary Hutson30/11/20181 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. As…
General musings!Gary Hutson16/08/20182 A simple function to install and load packages in R One function to rule the world, or install or load your packages for you I was starting to despair at the…
General musings!Gary Hutson24/05/20180 DPLYR: A Beginners Guide What is DPLYR? Dplyr is a grammar of data manipulation, providing a consistent set of verbs that help you solve the…
General musings!Gary Hutson17/05/20181 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, to…
General musings!Gary Hutson16/05/20182 Box Plots in ggplot2 Setting up the plot The box plot, in ggplot2, can be really powerful and useful for analysing variation. I will show…
General musings!Gary Hutson16/05/20181 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 chart,…
General musings!Gary Hutson16/05/20181 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 Variance…
General musings!Gary Hutson16/05/20183 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 average…