1.

Which is more general than a matrix, in that different columns can have different modes?(a) Data types(b) Data frames(c) Data sets(d) DatabasesI had been asked this question in an interview for internship.This intriguing question originated from Data Types topic in chapter Nuts and Bolts and Getting Data In and Out of R Programming

Answer»

Correct answer is (c) DATA sets

Easy explanation: A data frame is more general than a MATRIX, in that different columns can have different modes (numeric, character, factor, etc). This is similar to SAS and SPSS DATASETS. There are many WAYS to identify the elements of a data frame.



Discussion

No Comment Found

Related InterviewSolutions