1.

Point out the correct statement?(a) Empty vectors can be created with the vector() function(b) A sequence is represented as a vector but can contain objects of different classes(c) “raw” objectsare commonly used directly in data analysis(d) The value NaN represents undefined valueThis question was posed to me in quiz.This interesting question is from Data Types topic in chapter Nuts and Bolts and Getting Data In and Out of R Programming

Answer»

Right ANSWER is (a) EMPTY vectors can be created with the VECTOR() function

Explanation: A vector can only CONTAIN objects of the same class.



Discussion

No Comment Found

Related InterviewSolutions