Introduction to lists

What is a data frame?

mydf <- data.frame(a = c("x", "y", "z"), b = 1:3)
mydf
##   a b
## 1 x 1
## 2 y 2
## 3 z 3
is.list(mydf)
## [1] TRUE