fix typo (#454)
This commit is contained in:
parent
425f22f45d
commit
32bd47212d
2
EDA.Rmd
2
EDA.Rmd
|
@ -454,7 +454,7 @@ ggplot(data = diamonds) +
|
|||
geom_point(mapping = aes(x = carat, y = price), alpha = 1 / 100)
|
||||
```
|
||||
|
||||
But using transparency can be challening for very large datasets. Another solution is to use bin. Previously you used `geom_histogram()` and `geom_freqpoly()` to bin in one dimension. Now you'll learn how to use `geom_bin2d()` and `geom_hex()` to bin in two dimensions.
|
||||
But using transparency can be challenging for very large datasets. Another solution is to use bin. Previously you used `geom_histogram()` and `geom_freqpoly()` to bin in one dimension. Now you'll learn how to use `geom_bin2d()` and `geom_hex()` to bin in two dimensions.
|
||||
|
||||
`geom_bin2d()` and `geom_hex()` divide the coordinate plane into 2d bins and then use a fill color to display how many points fall into each bin. `geom_bin2d()` creates rectangular bins. `geom_hex()` creates hexagonal bins. You will need to install the hexbin package to use `geom_hex()`.
|
||||
|
||||
|
|
Loading…
Reference in New Issue