Piping

module 3
week 4
mutate
pipes
select
Pipes let us combine chains of functions
Author

Jeff Stevens

Published

February 17, 2023

Often we have many steps of data processing to wrangle it appropriately. Rather than having to save every intermediate step, we can use pipes to create chains of steps.

Learning objectives

  • Learn when to use pipes
  • Compare base R and tidyverse pipes
  • Apply pipes to optimize coding

Pre-meeting

To prepare for this class meeting, please do the following:

Class meeting

  • Base R vs. tidyverse pipes
  • Piping basics
  • Advanced piping
  • Slides and Code

Homework after the class meeting

Wrap up this lesson

For next class meeting