Fix typo in missing-values (#1430)

* "… when you compare them to another" instead of "… when you compare it another"

* Update missing-values.qmd

---------

Co-authored-by: Mine Cetinkaya-Rundel <cetinkaya.mine@gmail.com>
This commit is contained in:
Peter Baumgartner 2023-04-17 15:15:16 +02:00 committed by GitHub
parent 167ef02e82
commit 2ded03567a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ In that case, you can do manually what `complete()` does for you: create a data
### Joins
This brings us to another important way of revealing implicitly missing observations: joins.
You'll learn more about joins in @sec-joins, but we wanted to quickly mention them to you here since you can often only know that values are missing from one dataset when you compare it another.
You'll learn more about joins in @sec-joins, but we wanted to quickly mention them to you here since you can often only know that values are missing from one dataset when you compare it to another.
`dplyr::anti_join(x, y)` is a particularly useful tool here because it selects only the rows in `x` that don't have a match in `y`.
For example, we can use two `anti_join()`s to reveal that we're missing information for four airports and 722 planes mentioned in `flights`: