diff --git a/visualize.Rmd b/visualize.Rmd index 9ae53f1..216d6dc 100644 --- a/visualize.Rmd +++ b/visualize.Rmd @@ -175,7 +175,7 @@ Here, the color doesn't convey information about a variable, but only changes th * The shape of a point as a number, as shown in Figure \@ref(fig:shapes). -```{r shapes, echo = FALSE, out.width = "75%", fig.asp = 1/3, fig.cap="R has 25 built in shapes that are identified by numbers. There are some seeming duplicates: for example, 0, 15, and 22 are all squares. The difference comes from the interaction of the `colour` and `fill` aesthetics. The hollow shapes (0--14) have a border determined by `colour`; the solid shapes (15--18) are filled with `colour`; the filled shapes (21--24) have a border of `colour` and are filled with `fill`.", warning = FALSE} +```{r shapes, echo = FALSE, out.width = "75%", fig.asp = 1/3, fig.cap="R has 25 built in shapes that are identified by numbers. There are some seeming duplicates: for example, 0, 15, and 22 are all squares. The difference comes from the interaction of the `colour` and `fill` aesthetics. The hollow shapes (0--14) have a border determined by `colour`; the solid shapes (15--20) are filled with `colour`; the filled shapes (21--24) have a border of `colour` and are filled with `fill`.", warning = FALSE} shapes <- tibble( shape = c(0, 1, 2, 5, 3, 4, 6:19, 22, 21, 24, 23, 20), x = (0:24 %/% 5) / 2,