1.

The first component can be accessed using __________ operator.(a) Intraction(b) Extraction(c) AND(d) ORThis question was posed to me by my college professor while I was bunking the class.The question is from Data Types in section Nuts and Bolts and Getting Data In and Out of R Programming

Answer»

Correct choice is (B) Extraction

The best I can explain: 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 CORRESPONDS to. The former APPROACH can be performed using subsetting ([[]]) or alternatively, by the extraction operator ($).



Discussion

No Comment Found

Related InterviewSolutions