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: source/viz.Rmd
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -356,7 +356,7 @@ visual noise to remove. But there are a few things we must do to improve
356
356
clarity, such as adding informative axis labels and making the font a more
357
357
readable size. To add axis labels, we use the `xlab` and `ylab` functions. To
358
358
change the font size, we use the `theme` function with the `text` argument:
359
-
\index{ggplot!xlab,ylab}
359
+
\index{ggplot!xlab}\index{ggplot!ylab}
360
360
\index{ggplot!theme}
361
361
362
362
```{r 03-data-co2-line-2, warning=FALSE, message=FALSE, fig.height = 3.1, fig.width = 4.5, fig.align = "center", fig.cap = "Line plot of atmospheric concentration of CO$_{2}$ over time with clearer axes and labels."}
@@ -675,11 +675,11 @@ to assess a few key characteristics of the data:
675
675
676
676
-**Direction:** if the y variable tends to increase when the x variable increases, then y has a **positive** relationship with x. If
677
677
y tends to decrease when x increases, then y has a **negative** relationship with x. If y does not meaningfully increase or decrease
678
-
as x increases, then y has **little or no** relationship with x. \index{relationship!positive, negative, none}
678
+
as x increases, then y has **little or no** relationship with x. \index{relationship!positive}\index{relationship!negative}\index{relationship!none}
679
679
-**Strength:** if the y variable *reliably* increases, decreases, or stays flat as x increases,
680
-
then the relationship is **strong**. Otherwise, the relationship is **weak**. Intuitively, \index{relationship!strong, weak}
680
+
then the relationship is **strong**. Otherwise, the relationship is **weak**. Intuitively, \index{relationship!strong}\index{relationship!weak}
681
681
the relationship is strong when the scatter points are close together and look more like a "line" or "curve" than a "cloud."
682
-
-**Shape:** if you can draw a straight line roughly through the data points, the relationship is **linear**. Otherwise, it is **nonlinear**. \index{relationship!linear, nonlinear}
682
+
-**Shape:** if you can draw a straight line roughly through the data points, the relationship is **linear**. Otherwise, it is **nonlinear**. \index{relationship!linear}\index{relationship!nonlinear}
683
683
684
684
In Figure \@ref(fig:03-mother-tongue-vs-most-at-home-scale-props), we see that
685
685
as the percentage of people who have a language as their mother tongue increases,
0 commit comments