Fix typos in chapters Whole game, Data visualization, Numbers (#1215)

* Fix typo

Fixes #1208

* Fix typo

Fixes #1207

* Fix typo
This commit is contained in:
Stephan Koenig
2023-01-04 18:21:34 -08:00
committed by GitHub
parent fc91ed7cd8
commit 9173b3db60
3 changed files with 3 additions and 3 deletions

View File

@@ -268,7 +268,7 @@ ggplot(
geom_smooth()
```
We have successfully added a smooth curves, but this plot doesn't look like the plot from @sec-ultimate-goal, which only has one curve for the entire dataset as opposed to separate curves for each of the penguin species.
We have successfully added smooth curves, but this plot doesn't look like the plot from @sec-ultimate-goal, which only has one curve for the entire dataset as opposed to separate curves for each of the penguin species.
When aesthetic mappings are defined in `ggplot()`, at the *global* level, they're inherited by each of the subsequent geom layers of the plot.
However, each geom function in ggplot2 can also take a `mapping` argument, which allows for aesthetic mappings at the *local* level.