From b676118cbdc26d83801b0c36cfa31e8a3ddbd750 Mon Sep 17 00:00:00 2001 From: Betul Turkoglu <79486373+betulturkoglu@users.noreply.github.com> Date: Fri, 2 Sep 2022 14:35:55 +0300 Subject: [PATCH] Fix minor typos (#1083) --- EDA.qmd | 2 +- workflow-pipes.qmd | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/EDA.qmd b/EDA.qmd index 0dc3985..ff329b7 100644 --- a/EDA.qmd +++ b/EDA.qmd @@ -788,7 +788,7 @@ ggplot(data = smaller, mapping = aes(x = carat, y = price)) + What do you need to consider when using `cut_width()` vs `cut_number()`? How does that impact a visualization of the 2d distribution of `carat` and `price`? -2. Visualize the distribution of carat, partitioned by price. +2. Visualize the distribution of `carat`, partitioned by `price`. 3. How does the price distribution of very large diamonds compare to small diamonds? Is it as you expect, or does it surprise you? diff --git a/workflow-pipes.qmd b/workflow-pipes.qmd index f1739c1..0a995c7 100644 --- a/workflow-pipes.qmd +++ b/workflow-pipes.qmd @@ -17,7 +17,7 @@ You'll need to make one change to your RStudio options to use `|>` instead of `% #| label: fig-pipe-options #| echo: false #| fig-cap: > -#| To insert `|>`, make sure the "Use native pipe" option is checked. +#| To insert `|>`, make sure the "Use native pipe operator" option is checked. #| fig-alt: > #| Screenshot showing the "Use native pipe operator" option which can #| be found on the "Editing" panel of the "Code" options. @@ -42,7 +42,7 @@ flights |> ) ``` -Even though this pipe has four steps, it's easy to skim because the verbs come at the start of each line: start with the flights data, then filter, then group, then summarize. +Even though this pipe has four steps, it's easy to skim because the verbs come at the start of each line: start with the `flights` data, then filter, then group, then summarize. What would happen if we didn't have the pipe? We could nest each function call inside the previous call: