From 6d8834d7d15ab40a95815c9876586e8fdcf9b4ba Mon Sep 17 00:00:00 2001 From: "Y. Yu" <54338793+PursuitOfDataScience@users.noreply.github.com> Date: Thu, 18 Aug 2022 09:14:07 -0400 Subject: [PATCH] Update data-transform.qmd (#1073) A well written chapter. Just a very minor fix. --- data-transform.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-transform.qmd b/data-transform.qmd index 30b25ff..a19a0fb 100644 --- a/data-transform.qmd +++ b/data-transform.qmd @@ -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: