Fixing typo (#1301)

This commit is contained in:
David 2023-02-24 14:39:19 +01:00 committed by GitHub
parent d1e0121ce2
commit 568d3d44e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1014,7 +1014,7 @@ Patchwork divides up the area you have allotted for your plot using this scale a
#| Five plots laid out such that first two plots are next to each other. Plots
#| three and four are underneath them. And the fifth plot stretches under them.
#| The patchworked plot is titled "City and highway mileage for cars with
#| different drive trains" and captioned "Source: Source: https://fueleconomy.gov".
#| different drive trains" and captioned "Source: https://fueleconomy.gov".
#| The first two plots are side-by-side box plots. Plots 3 and 4 are density
#| plots. And the fifth plot is a faceted scatterplot. Each of these plots show
#| geoms colored by drive train, but the patchworked plot has only one legend
@ -1044,7 +1044,7 @@ p5 <- ggplot(mpg, aes(x = cty, y = hwy, color = drv)) +
(guide_area() / (p1 + p2) / (p3 + p4) / p5) +
plot_annotation(
title = "City and highway mileage for cars with different drive trains",
caption = "Source: Source: https://fueleconomy.gov."
caption = "Source: https://fueleconomy.gov."
) +
plot_layout(
guides = "collect",