What is a data frame in R?

  • A graphical representation of data
  • A collection of data elements of the same data type
  • A two-dimensional table-like data structure
  • A statistical model used for forecasting
A data frame in R is a two-dimensional table-like data structure where columns can contain different data types. It is similar to a spreadsheet or a database table, where each column represents a variable and each row represents an observation.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *