Publications by Data Imaginist - R posts

Announcing curry: Operator based currying and partial application

28.09.2016

I am pleased to announce the release of curry – a small package I’ve developed as part of improving my meta-programming skills. curry is yet another attempt at providing a native currying/partial application mechanism in R. Other examples of implementations of this can be found in purrr and functional (and probably others). curry sets i...

3803 sym R (2464 sym/39 pcs)

Data Driven Logo Design with ggraph and gtable

06.10.2016

After having “succesfully” launched my blog I felt the time had come to create some identity for it (and by extension, me). What better way to do this than create a logo? This thought didn’t suddenly appear in my mind – if you’ve read the announcement post you will now that such details have been rummaging around my head for as long a...

6203 sym R (3884 sym/9 pcs) 20 img

Creating a Bees and Bombs gif in R

19.10.2016

I love the work of @beesandbombs and while some of his creations are a poor fit for redoing in R, one of his latest got me wondering how I would recreate it in the venerable statistics language… The gif in question can be seen here (I don’t know to make those fancy tweet cards using jekyll and GitHub pages). While it would be nice if this wa...

4694 sym R (3905 sym/7 pcs) 8 img

Becoming The Intern

30.10.2016

I was not always this famous… And with this I mean that a year ago only my colleagues knew I did stuff in R and now I’m reaching a slightly wider audience. Some of this is definitely due to me interning for Hadley Wickham and helping prepare the next release of ggplot2. In fact I think it’s a fair bet that if you’re reading this it is due...

8953 sym R (4994 sym/1 pcs) 10 img

Announcing ggforce: Accelerating ggplot2

21.11.2016

I am very pleased to announce the first release of the ggforce package. ggforce is a general ggplot2 extension package in the same vein as ggalt with no overarching goal other than to provide additional functionality to the ggplot2 universe. The inception and birth of ggforce was documented in a recent post and the road to CRAN has been long...

3888 sym R (2233 sym/6 pcs) 12 img

Data Driven Christmas Card Animation with Voronoi Tiles

20.12.2016

I recently published a bit of self-promotion in the form of an animation based on the new geom_voronoi_tile() and geom_voronoi_segment() functions in ggforce: Selfpromoting fun with geom_voronoi_* in #ggforce #ggplot2 #tweenr pic.twitter.com/CcFCJ8UDyy— Thomas Lin Pedersen (@thomasp85) December 16, 2016 This prompted someone to ask for the sou...

5199 sym R (7990 sym/9 pcs) 10 img

Introduction to ggraph: Nodes

05.02.2017

This is the second post in my series of ggraph introductions. The first post introduced the concept of layouts, which is simply a specification on how nodes should be placed on a plane. This post will dive into how the nodes are drawn, once a layout has been calculated. Nodes Nodes in a network are the entities that are connected. Sometimes the...

4664 sym R (1285 sym/9 pcs) 14 img

Introduction to ggraph: Layouts

05.02.2017

I will soon submit ggraph to CRAN – I swear! But in the meantime I’ve decided to build up anticipation for the great event by publishing a range of blog posts describing the central parts of ggraph: Layouts, Nodes, Edges, and Connections. All of these posts will be included with ggraph as vignettes — potentially in slightly ...

9242 sym R (5262 sym/21 pcs) 34 img

Introduction to ggraph: Edges

15.02.2017

This is the third post in my series of ggraph introductions. The first post introduced the concept of layouts, which is simply a specification on how nodes should be placed on a plane. The second explained how to draw nodes using the geom_node_*() family. This post will connect the dots, so to speak, by introducing the concept of edges. Edges I...

10294 sym R (4360 sym/20 pcs) 38 img

Announcing ggraph: A grammar of graphics for relational data

22.02.2017

I am absolutely thrilled to announce that ggraph has finally been released on CRAN. ggraph is my most ambitious package to date and its very early genesis has been described in a prior post. If any mention of ggraph is completely new to you, then in short terms ggraph is an extension of the ggplot2 API to support relational data such as networks...

6585 sym R (1028 sym/10 pcs) 18 img