Minor typos (#1277)

This commit is contained in:
Rohan Alexander 2023-02-12 14:46:21 -05:00 committed by GitHub
parent d07a98d1a0
commit be10801648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -390,7 +390,7 @@ The `x` and `y` aesthetics define the starting location of the segment and `xend
```{r}
#| fig-alt: >
#| Scatterplot of highway fuel efficiency versus engine size of cars. A red
#| arrow pointing down follows the trend of the points and the annptation
#| arrow pointing down follows the trend of the points and the annotation
#| placed next to the arrow reads "increasing engine size is related to
#| decreasing fuel economy". The arrow and the annotation text is red.
@ -974,7 +974,7 @@ It's also possible to control individual components of each theme, like the size
We've already seen that `legend.position` controls where the legend is drawn.
There are many other aspects of the legend that can be customized with `theme()`.
For example, in the plot below we change the direction of the legend as well as put a black border around it.
A few other helpful `theme()` components are use to change the placement for format of the title and caption text.
A few other helpful `theme()` components are used to change the placement for format of the title and caption text.
```{r}
ggplot(mpg, aes(x = displ, y = hwy, color = drv)) +
@ -1037,7 +1037,7 @@ In the following, `|` places the `p1` and `p3` next to each other and `/` moves
```{r}
#| fig-alt: >
#| Three plots laid out such that first and third plot are next to each other
#| and the second plot streatched beneath them. The first plot is a
#| and the second plot stretched beneath them. The first plot is a
#| scatterplot of highway mileage versus engine size, third plot is a
#| scatterplot of highway mileage versus city mileage, and the third plot is
#| side-by-side boxplots of highway mileage versus drive train) placed next