1.

If the function in a console is.matrix(X) returns true then X can be considered as a _______(a) Matrix object(b) Matrix data object(c) Matrix vector(d) VectorThis question was addressed to me by my school teacher while I was bunking the class.This intriguing question comes from Functions topic in division Control Structures, Functions, Scoping Rules, Loop Functions and Debugging of R Programming

Answer»

Correct option is (B) Matrix DATA object

The EXPLANATION is: The function call is.matrix(X) returns TRUE then X can be termed as a matrix data object. R has a large NUMBER of in-built functions and also the user can create their own functions.



Discussion

No Comment Found

Related InterviewSolutions