Matrix
Vector
Array
List
Answer is Wrong!
Answer is Right!
The correct answer is: A. Matrix
In the syntax of linear model lm(formula,data,..)
, data
refers to a matrix. A matrix is a rectangular array of numbers, symbols, or expressions arranged in rows and columns. Matrices are often used to represent data, such as the results of a survey or experiment.
The other options are incorrect because:
- A vector is a one-dimensional array of numbers, symbols, or expressions.
- An array is a two-dimensional array of numbers, symbols, or expressions.
- A list is a collection of items that can be of any type.