How does a vector differ from a list?
A vector contains items of a single data type, while a list can contain items of different data types.
Vectors and lists are the same thing and can be used interchangeably.
Vectors are like arrays, while lists are like data frames.
Vectors are used only for numeric data, while lists are useful for both numeric and string data.