© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
W. YarberryCRAN Recipeshttps://doi.org/10.1007/978-1-4842-6876-6_1

1. DPLYR

William Yarberry1  
(1)
Kingwood, TX, USA
 

DPLYR is one of my favorite R packages. Its logical and consistent rules replace the older, motley collection of syntactically inconsistent packages and functions. It’s like a Swiss Army knife in the woods—don’t leave home without it.

Most of the book’s code examples use built-in R datasets or toy dataframe hard-coded into the program. For practice, you should substitute your own data when running the snippets of code.

1.1 Filter Commands

The filter command is used to eliminate rows (records) you do not want. The following commands use built-in ...

Get CRAN Recipes: DPLYR, Stringr, Lubridate, and RegEx in R now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.