rewrite requires max(). (#1495)
This commit is contained in:
@@ -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()
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user