In R, a variable that contains a sequence of data is called a ________.

  • DataFrame
  • List
  • Matrix
  • Vector
A vector in R is a sequence of data elements of the same basic type. Members in a vector are officially called components. However, R also has other data structures like lists, matrix, and dataframe which can hold multiple data types or more complex data.
Add your answer
Loading...

Leave a comment

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