Catégorie : R


Manipulate data with dplyr

The dplyr package is based on a data manipulation ‘grammar’. This grammar provides a consistent set of ‘verbs’ that solve the most common data manipulation tasks. I illustrate five of these ‘verbs’: filter(), arrange(), select(), mutate(), and summarise().


Should corpus linguists embrace the tidyverse?

Since the publication of my book on corpus linguistics with R, many colleagues have asked me if I was planning to switch the whole code to the tidy style (some of the code in the book makes use of some tidyverse packages. If you want to know my answer, please read on.