1.

The dimension attribute is itself an integer vector of length _______(a) 1(b) 2(c) 3(d) 4

Answer» The correct option is (b) 2

To explain I would say: It is itself an integer vector of length 2. The dimension attribute in R is an integer vector. Real values larger in modulus than the largest integer are coerced to NA. Matrices are vectors with a dimension attribute. The dimension attribute is itself an integer vector of length 2 (number of rows, number of columns).


Discussion

No Comment Found

Related InterviewSolutions