1.

Factors are the r-objects which are created using a _________(a) Vector(b) Matrix(c) Lists(d) ArrayThis question was addressed to me in an interview for internship.Question is taken from Data Types in chapter Nuts and Bolts and Getting Data In and Out of R Programming

Answer»

Correct OPTION is (a) Vector

Explanation: Factors are the r-objects which are CREATED using a vector. It stores the vector with ALSO the distinct values of the elements in the vector as labels. They are USEFUL in statistical modelling.



Discussion

No Comment Found

Related InterviewSolutions