However, whilst matrices are restricted to containing data all of the same type, data frames can contain a mixture of different types of data. A data frame is a powerful two-dimensional object made up of rows and columns which looks superficially very similar to a matrix.
Take a look at this video for a quick introduction to data frame objects in Rīy far the most commonly used data structure to store data in is the data frame.
1.4.2 Integrated developement environements.