From be108016480bbd1dbcfc4daefb7171b384611db8 Mon Sep 17 00:00:00 2001 From: Rohan Alexander Date: Sun, 12 Feb 2023 14:46:21 -0500 Subject: [PATCH] Minor typos (#1277) --- communication.qmd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/communication.qmd b/communication.qmd index 659528e..3713925 100644 --- a/communication.qmd +++ b/communication.qmd @@ -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