1.

Attributes of an object (if any) can be accessed using the ______ function.(a) objects()(b) attrib()(c) attributes()(d) obj()This question was addressed to me during an interview.The doubt is from Data Types topic in chapter Nuts and Bolts and Getting Data In and Out of R Programming

Answer»

The correct CHOICE is (C) attributes()

Explanation: Not all R objects CONTAIN attributes, in which case the attributes() function RETURNS NULL.



Discussion

No Comment Found

Related InterviewSolutions