Fixed typos (#1307)

Fixed typos in figure explanation : top/middle/bottom rather than left/middle/right, due to the display of figures in the text.
This commit is contained in:
Jonathan Kitt 2023-03-01 21:04:54 +01:00 committed by GitHub
parent 1eed88433c
commit 63cbf8a90d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -397,7 +397,7 @@ For example, the histogram and density plot below reveal that the distribution o
#| Three plots: histogram, density plot, and box plot of highway
#| mileage.
# Left
# Top
ggplot(mpg, aes(x = hwy)) +
geom_histogram(binwidth = 2)
@ -405,7 +405,7 @@ ggplot(mpg, aes(x = hwy)) +
ggplot(mpg, aes(x = hwy)) +
geom_density()
# Right
# Bottom
ggplot(mpg, aes(x = hwy)) +
geom_boxplot()
```