Pipes
In this module, you will learn how to compose functions using the pipe operator, |>.
Learning Goals
After completing this module, you will be able to:
- Explain the benefits of pipelines versus other methods of composing functions.
- Recognize situations in your analyses where a pipeline would be appropriate.
- Build pipelines to compose a series of R functions into a single command.
- Use four different types of pipe operator in your pipelines, as appropriate:
- The Base R pipe:
|> - The dplyr pipe:
%>% - The exposition pipe:
%$% - The assignment pipe:
%<>%
- The Base R pipe:
Click the button below to get started with the tutorial.