1.

A __________ is an R-object which can contain many different types of elements inside it.(a) Vector(b) Lists(c) Matrix(d) FunctionsThis question was posed to me in an international level competition.I'm obligated to ask this question of Data Types in section Nuts and Bolts and Getting Data In and Out of R Programming

Answer»

Correct answer is (b) Lists

Best EXPLANATION: A LIST is an R-object which can contain MANY different types of elements in it LIKE vectors, functions and even another list inside it. We can IDENTIFY elements of a list using the [[]] convention.



Discussion

No Comment Found

Related InterviewSolutions