Fixing typo (#1301)
This commit is contained in:
parent
d1e0121ce2
commit
568d3d44e8
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue