rewrite requires max(). (#1495)

This commit is contained in:
Mitsuo Shiota
2023-07-16 21:27:55 +09:00
committed by GitHub
parent 02651ef846
commit c607d980f7

View File

@@ -268,7 +268,7 @@ dplyr also provides an equivalent to `[[`/`$` that we didn't mention in @sec-dat
That means we could rewrite the above code to use the pipe:
```{r}
diamonds |> pull(carat) |> mean()
diamonds |> pull(carat) |> max()
diamonds |> pull(cut) |> levels()
```