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
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.