Introduction to lists

Vectors:

  • all elements are of the same data type
  • flat structure
  • support naming
c("string 1", "string 2")
## [1] "string 1" "string 2"
70:79
##  [1] 70 71 72 73 74 75 76 77 78 79
c(mango = 100, banana = 200)
##  mango banana 
##    100    200