Fix minor typos (#1083)

This commit is contained in:
Betul Turkoglu 2022-09-02 14:35:55 +03:00 committed by GitHub
parent 53146f68d1
commit b676118cbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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?

View File

@ -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: