Blog Archives

A wee look at group_map and group_split in dplyr

February 27, 2019
By

Dplyr 0.8.0 launched recently, which you probably already know, but just in case you missed it.. Two new functions have been catching my eye : group_map and group_split. The aim of this post - take a first look at these and try and get a ne...

Read more »

gganimation for the nation

January 5, 2019
By
gganimation for the nation

gganimate hits CRAN - At the NHS_R conference back in October, I showed a few ways of building animations using gifski - I also wrote up the method I used in an earlier post right here. And, the source code for all this stuff is available f...

Read more »

Twins on the up

December 12, 2018
By
Twins on the up

Are multiple births on the increase? My twin boys turned 5 years old today. Wow, time flies. Life is never dull, because twins are still seen as something of a novelty, so wherever we go, we find ourselves in conversation with strangers, who...

Read more »

Creating and saving multiple plots to Powerpoint

November 29, 2018
By

At the NHS R conference we delivered a session on animating patient flow. This started with a single plot showing all patient movements, and then I demonstrated the ability to create a faceted plot. But, with many different areas, and a smal...

Read more »

Thoughts on the NHS-R conference

October 30, 2018
By

It’s been a few weeks since the first NHS-R conference was held in Birmingham. I co-presented a couple of workshops with Neil Pettinger on visualising patient flow, covering the following importing from Excel (and connecting to SQ...

Read more »

Where am I?

September 22, 2018
By

Notes on the here package - The here package is pretty simple ( only 3 functions), but I cannot remember how to use it to navigate folders, so this is my aide-memoire. It might be useful for others too. Here finds the root of your current fo...

Read more »

Mid Table Mediocrity

August 10, 2018
By
Mid Table Mediocrity

Visualising potential winners in the Scottish Championship - Last August, I was given a surprise gift of a season ticket to watch my local football team, Inverness Caledonian Thistle. They’d been relegated from the top league in Scotland t...

Read more »

More tidy evaluation with ggplot2

July 3, 2018
By
More tidy evaluation with ggplot2

Following up the follow up - After my previous post, my good friend David Henderson asked a good question on Twitter ( it happens :)) To be honest, I hadn’t even noticed there was no tilde (the ‘~’ ) in my call to facet_wrap. So I did a little experiment : library(dplyr) library(ggplot2) library(tidyr) library(tibble) data

Read more »

Tidily evaluated ggplot2

July 3, 2018
By
Tidily evaluated ggplot2

Test driving the new release of ggplot2 - A new release of ggplot2 Now that tidy evaluation is baked into ggplot2, as of TODAY, let’s take it for a spin: ggplot2 3.0.0 %__% create function %__% test function %__% end library(dplyr) library(ggplot2) library(tidyr) library(tibble) data

Read more »

Even Simpler SQL

June 2, 2018
By

I’ve had some feedback on the last post, and rather than repeat the same thing multiple times, I’m going all @drob, and writing this instead.. When I tweeted out the link to my post I gave it the tag line “why I’d rather write dplyr than SQL”. What I couldn’t fit in to the tweet was that this was based on...

Read more »

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)