Minor typos (#1277)
This commit is contained in:
parent
d07a98d1a0
commit
be10801648
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue