You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: layers.qmd
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,7 @@ You'll need to pick a value that makes sense for that aesthetic:
136
136
137
137
- The name of a color as a character string, e.g., `color = "blue"`
138
138
- 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.
140
140
141
141
```{r}
142
142
#| label: fig-shapes
@@ -399,7 +399,7 @@ In the following plot not only did we use a new geom (`geom_density_ridges()`),
399
399
#| fig-alt:
400
400
#| Density curves for highway mileage for cars with rear wheel,
401
401
#| 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
403
403
#| 4 wheel drive cars and unimodal and right skewed for front
404
404
#| wheel drive cars.
405
405
library(ggridges)
@@ -1011,4 +1011,4 @@ One layer we have not yet touched on is theme, which we will introduce in @sec-t
1011
1011
1012
1012
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/)).
1013
1013
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