diff --git a/base-R.qmd b/base-R.qmd index 4824cfd..b3de68c 100644 --- a/base-R.qmd +++ b/base-R.qmd @@ -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() ```