R supports the following data types.
A vector is an ordered set of elements of the same type.
A list is an ordered set of elements that may be of different types.
A factor assigns a categorical variable to each distinct element in a vector.
A matrix is a data structure with two or more dimensions, used to store elements of the same type.
A data frame stores data in a table format. Each column in the data frame may be accessed by either its name or position.
Introduction to R
Tricentis LiveCompare Manual 4.1 © Tricentis US Corp.