dplyr

A tidyr Tutorial

The tidyr package by Hadley Wickham centers on two functions: gather and spread. If you have struggled to understand what exactly these two functions do, this tutorial is for you. To begin we need to wrap our heads around the idea of “key-value pairs”. The help pages for gather and spread use this terminology to […]

dplyr: an R package for fast and easy data manipulation

Whether you’re brand new to R or a long time user, you need to check out the new dplyr package. Released in January 2014, the dplyr package provides simple functions that can be chained together to easily and quickly manipulate data. The idea behind dplyr is that data manipulation often involves common tasks, such as […]