Skip to main content

Whole game

The first part of this book is a tour. 1  The whole game takes one data set, a hundred thousand muon pairs from a collider detector, all the way from a compressed file to a figure of the particles hiding inside it, using every idea in the book once and explaining none of them fully. Read it to see where you are going.

The two chapters after it lay the foundations that everything else builds on. 2  Tidy data explains tidy data, the simple rule about rows and columns that makes the rest of the tidyverse work, using a magnetometer, a set of gamma-ray spectra and the muons. 3  From Fortran to the tidyverse is for anyone who learned to program with loops, in Fortran or anything else: it shows the loop you would write next to the tidyverse code that replaces it, and it shows how much of Fortran is still inside R.