InterviewSolution
Saved Bookmarks
| 1. |
_______________ returns TRUE then X can be termed as a matrix data object.(a) is.”matrix(X”)(b) is.matrix(X)(c) is.notamatrix(X )(d) is.matrix(“X”)I have been asked this question in unit test.I'd like to ask this question from Functions in section Control Structures, Functions, Scoping Rules, Loop Functions and Debugging of R Programming |
|
Answer» RIGHT OPTION is (B) is.matrix(X) For explanation: 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. |
|