InterviewSolution
Saved Bookmarks
| 1. |
Which of the following is not an object of R?(a) calls(b) expressions(c) strings(d) namesThe question was posed to me in an internship interview.This intriguing question originated from Basics in division History, Overview and Getting Started of R Programming |
|
Answer» CORRECT choice is (c) strings To explain I would say: Calls, expressions and names are the three types of objects that constitute the R LANGUAGE. There is really only one rule about vectors in R, which is that A VECTOR can only CONTAIN objects of the same class. R objects can have names, which is very useful for writing readable code and self-describing objects. |
|