1.

How can we access the first component of the list?(a) Number of the position(b) Function(c) Package(d) ToolsThe question was asked in an interview for job.My question is taken from Data Types topic in portion Nuts and Bolts and Getting Data In and Out of R Programming

Answer»

Right option is (a) Number of the position

For EXPLANATION I would say: There are a number of ways of accessing the first component of a list. We can either access it through the NAME of that component (if NAMES are assigned) or by USING a number corresponding to the position the component.



Discussion

No Comment Found

Related InterviewSolutions