Object types
Vectors (1D)
Definition: numeric
or character
Factors (1D)
Definition: vectors with grouping information
Matrices (2D)
Definition: two dimensional structures with data of same type
Data Frames (2D)
Definition: two dimensional objects with data of variable types
Arrays
Definition: data structure with one, two or more dimensions
Lists
Definition: containers for any object type
Functions
Definition: piece of code
Subsetting of data objects
(1.) Subsetting by positive or negative index/position numbers
(2.) Subsetting by same length logical vectors
(3.) Subsetting by field names
(4.) Subset with $
sign: references a single column or list component by its name