From 3580d98300da2c4ea0d84c8698e5f6175cd57f00 Mon Sep 17 00:00:00 2001 From: Colin Gillespie Date: Mon, 3 Oct 2016 13:42:42 +0100 Subject: [PATCH] Fix reference to figure (#446) --- vectors.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vectors.Rmd b/vectors.Rmd index cdb5bd0..ade4bbd 100644 --- a/vectors.Rmd +++ b/vectors.Rmd @@ -26,7 +26,7 @@ There are two types of vectors: 1. __Lists__, which are sometimes called recursive vectors because lists can contain other lists. -The chief difference between atomic vectors is that atomic vectors are __homogeneous__, while lists can be __heterogeneous__. There's one other related object: `NULL`. `NULL` is often used to represent the absence of a vector (as opposed to `NA` which is used to represent the absence of a value in a vector). `NULL` typically behaves like a vector of length 0. Figure \@ref{fig-datatypes} summarises the interrelationships. +The chief difference between atomic vectors is that atomic vectors are __homogeneous__, while lists can be __heterogeneous__. There's one other related object: `NULL`. `NULL` is often used to represent the absence of a vector (as opposed to `NA` which is used to represent the absence of a value in a vector). `NULL` typically behaves like a vector of length 0. Figure \@ref(fig:datatypes) summarises the interrelationships. ```{r datatypes, echo = FALSE, out.width = "50%", fig.cap = "The hierarchy of R's vector types"} knitr::include_graphics("diagrams/data-structures-overview.png")