From f6aeebab5f89924421fec39683d2c197cb81b275 Mon Sep 17 00:00:00 2001 From: juandering Date: Sat, 3 Oct 2020 17:36:08 +0300 Subject: [PATCH] Update visualize.Rmd (#863) Solid shapes are 15-20, not 15-18. --- visualize.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,