The tidyverse collection of packages is a suite of packages that simplifies a huge number of the commonest tasks I do in R. It’s become indispensable for me, and I’ll make heavy use of it. I draw your attention to dplyr, one of the tidyverse packages. It provides a set of functions that makes manipulating …
Author Archives: densurekalkun
magrittr
The magrittr package is a great resource for making R more readable… and more writable. Here’s an example of hard-to-read code print(head(rev(toupper(letters)))) If you came across that in someone else’s code, you might gag. And rightly so. It takes a few moments to work out what’s going on: print the first five characters of the …
hello woRld
This blog is about the intersect between my two big passions: Geocaching and R programming. Geocaching is an international treasure hunt, where you seek containers hidden by other cachers, using your phone or a GPS receiver. R is a programming language which is commonly used in statistics-heavy academic and professional organisations. But how do these …