|
|
@ -49,7 +49,7 @@ x <- list(1, 2, 3)
|
|
|
|
str(x)
|
|
|
|
str(x)
|
|
|
|
|
|
|
|
|
|
|
|
x_named <- list(a = 1, b = 2, c = 3)
|
|
|
|
x_named <- list(a = 1, b = 2, c = 3)
|
|
|
|
str(x)
|
|
|
|
str(x_named)
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Unlike atomic vectors, `lists()` can contain a mix of objects:
|
|
|
|
Unlike atomic vectors, `lists()` can contain a mix of objects:
|
|
|
|