Fix reference to figure (#446)
This commit is contained in:
parent
41ff280a08
commit
3580d98300
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue