Showing posts with label r. Show all posts
Showing posts with label r. Show all posts

Friday, 1 February 2013

R

Vectors vs. lists

Lists are vectors, but vectors are not lists. The elements of a list can be different data types, but the elements of a vector must be the same data type. If you create a vector with different data types, they will be coerced to the same type.