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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.

View File

@ -523,7 +523,7 @@ lead(x)
You can lead or lag by more than one position by using the second argument, `n`.
### Consecutive identifies
### Consecutive identifiers
Sometimes you want to start a new group every time some event occurs.
For example, when you're looking at website data, it's common to want to break up events into sessions, where a session is defined as a gap of more than x minutes since the last activity.

View File

@ -39,7 +39,7 @@ Five chapters focus on the tools of data science:
- Before you can transform and visualize your data, you need to first get your data into R.
In @sec-data-import you'll learn the basics of getting `.csv` files into R.
Nestled among these chapters that are five other chapters that focus on your R workflow.
Nestled among these chapters are five other chapters that focus on your R workflow.
In @sec-workflow-basics, @sec-workflow-pipes, @sec-workflow-style, and @sec-workflow-scripts-projects you'll learn good workflow practices for writing and organizing your R code.
These will set you up for success in the long run, as they'll give you the tools to stay organised when you tackle real projects.
Finally, @sec-workflow-getting-help will teach you how to get help to keep learning.