1.

In R language, a vector is defined that it can only contain objects of the ________(a) Same class(b) Different class(c) Similar class(d) Any classThe question was asked in examination.Enquiry is from Overview of R topic in division History, Overview and Getting Started of R Programming

Answer»

Right answer is (a) Same class

Best EXPLANATION: A VECTOR can only contain objects of the same class. A vector cannot have contain objects of the different class. Same class objects are used MOSTLY. The most BASIC type of R object is a vector. Empty vectors can be created with the vector() function.



Discussion

No Comment Found

Related InterviewSolutions