## 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…. I am in love. I can remember coding this into Excel VBA, to get my animations to work on my data, and now R has the potential. John will remind me that it has…

## 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 experience and kudos to the team @NHS-R Community for arranging it. The full content of the event has been posted: https://nhsrcommunity.com/nhs-r-conference-9-october-2018/. What a fantastic event this was and I met many of my fellow…

## R Learning – Tutorial 9 – Data Frame Functions

This will teach you how to apply functions to data frames:

## 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 much as I like R – the outputs from the console window leave something to be desired (in terms of data visualisation). Therefore, I wanted a way to visualise these correlations in a nicer…

## R Learning – Tutorial 28 – Data Visualisation – Working with chart axes

This will show you how to resize, move, change font, reverse order, and more…

## R Learning – Tutorial 27 – Data Visualisation – Three Dimensional Scatter Charts

These charts do not look particularly nice in R, but this shows an example of how they can be implemented:

## R Learning – Tutorial 26 – Data Visualisation – Two Dimension Density Plots

This shows how to create a two dimensional density plot:

## R Learning – Tutorial 25 – Data Visualisation – Stacked Area Charts

This has been included as an example of how to create a stacked area chart. The data to use for this can be found Stacked_Data.csv. The below video shows how to achieve this:

## R Learning – Tutorial 24 – Data Visualisation – Line Charts

Learn how to visualise your data on a line chart, this does not go into the fundamentals of converting your dataset to a time series object, this is something I want to blog about at a later juncture: The example file can be downloaded by clicking here: Time_Series_Test.

## R Learning – Tutorial 23 – Data Visualisation – Scatter Charts

Want to visualise the correlation between two variables, this is where the scatter chart comes in: