A data frame is a structure in R that holds data and is similar to the datasets found
in standard statistical packages e.g. SAS, SPSS, and Stata. The columns are variables and the rows are observations.
We can have variables of different types (for example, numeric, character) in the same data frame. Data frames are the main structures 'R' use to store datasets.
Asked In: Many Interviews |