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.

No comments :

Post a Comment