Skip to content

Commit 7e30083

Browse files
Update layers.qmd (#1759)
1 typo and 1 punc
1 parent 461b78f commit 7e30083

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

layers.qmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ You'll need to pick a value that makes sense for that aesthetic:
136136

137137
- The name of a color as a character string, e.g., `color = "blue"`
138138
- The size of a point in mm, e.g., `size = 1`
139-
- The shape of a point as a number, e.g, `shape = 1`, as shown in @fig-shapes.
139+
- The shape of a point as a number, e.g., `shape = 1`, as shown in @fig-shapes.
140140

141141
```{r}
142142
#| label: fig-shapes
@@ -399,7 +399,7 @@ In the following plot not only did we use a new geom (`geom_density_ridges()`),
399399
#| fig-alt:
400400
#| Density curves for highway mileage for cars with rear wheel,
401401
#| front wheel, and 4-wheel drives plotted separately. The
402-
#| distribution is bimodal and roughly symmetric for real and
402+
#| distribution is bimodal and roughly symmetric for rear and
403403
#| 4 wheel drive cars and unimodal and right skewed for front
404404
#| wheel drive cars.
405405
library(ggridges)
@@ -1011,4 +1011,4 @@ One layer we have not yet touched on is theme, which we will introduce in @sec-t
10111011

10121012
Two very useful resources for getting an overview of the complete ggplot2 functionality are the ggplot2 cheatsheet (which you can find at <https://posit.co/resources/cheatsheets>) and the ggplot2 package website ([https://ggplot2.tidyverse.org](https://ggplot2.tidyverse.org/)).
10131013

1014-
An important lesson you should take from this chapter is that when you feel the need for a geom that is not provided by ggplot2, it's always a good idea to look into whether someone else has already solved your problem by creating a ggplot2 extension package that offers that geom.
1014+
An important lesson you should take from this chapter is that when you feel the need for a geom that is not provided by ggplot2, it's always a good idea to look into whether someone else has already solved your problem by creating a ggplot2 extension package that offers that geom.

0 commit comments

Comments
 (0)