Update data-transform.qmd (#1073)

A well written chapter. Just a very minor fix.
This commit is contained in:
Y. Yu 2022-08-18 09:14:07 -04:00 committed by GitHub
parent ebf42efde8
commit 6d8834d7d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ But before we discuss their individual differences, it's worth stating what they
3. The result is always a new data frame.
Because the first argument is a data frame and the output is a data frame, dplyr verbs work work well with the pipe, `|>`.
Because the first argument is a data frame and the output is a data frame, dplyr verbs work well with the pipe, `|>`.
The pipe takes the thing on its left and passes it along to the function on its right so that `x |> f(y)` is equivalent to `f(x, y)`, and `x |> f(y) |> g(z)` is equivalent to into `g(f(x, y), z)`.
The easiest way to pronounce the pipe is "then".
That makes it possible to get a sense of the following code even though you haven't yet learnt the details: