Publications by Chris

Automagic epi curve plotting: part I

22.05.2018

As of 24 May 2018, the underlying data schema of the Github repo from which the epi curve plotter draws its data has changed. Therefore, a lot of the code had to be adjusted. The current code can be found here on Github. This also plots a classical epi curve. One of the best resources during the 2013-16 West African Ebola outbreak was Caitlin Ri...

5514 sym R (4443 sym/12 pcs) 4 img 1 tbl

The Ten Rules of Defensive Programming in R

27.07.2018

Where R code is integrated into a pipeline, runs autonomously or is embedded into a larger analytical solution, writing code that fails well is going to be crucial.The topic of defensive programming in R is, admittedly, a little unusual. R, while fun and powerful, is not going to run defibrillators, nuclear power plants or spacecraft. In fact, mu...

28040 sym R (1315 sym/5 pcs) 12 img 1 tbl

Assignment in R: slings and arrows

30.07.2018

Having recently shared my post about defensive programming in R on the r/rstats subreddit, I was blown away by the sheer number of comments as much as I was blown away by the insight many displayed. One particular comment by u/guepier struck my attention. In my previous post, I came out quite vehemently against using the = operator to effect ass...

9815 sym R (860 sym/10 pcs) 3 img 1 tbl

Structuring R projects

09.08.2018

There are some things that I call Smith goods:1 things I want, nay, require, but hate doing. A clean room is one of these – I have a visceral need to have some semblance of tidiness around me, I just absolutely hate tidying, especially in the summer.2 Starting and structuring packages and projects is another of these things, which is why I’m ...

23586 sym R (725 sym/6 pcs) 1 tbl