Readability and Reusability

The pipe-operator |>

With pipes, we improve the readability of our R code and at the same time become more productive in data analysis. The |> operator signals that it is a pipe. We use pipes throughout this book for better readability and maintainability of our code.

Read the following blog post, which gives an excellent summary of the pipe operator:

Wickham and Grolemund also address pipes in their book R for Data Science:

Last updated

Was this helpful?