InterviewSolution
Saved Bookmarks
| 1. |
Which function is used to combine the elements into a vector?(a) C()(b) D()(c) E()(d) F()I got this question during an online interview.I'm obligated to ask this question of Data Types topic in section Nuts and Bolts and Getting Data In and Out of R Programming |
|
Answer» RIGHT answer is (a) C() Best explanation: When you want to create a vector with more than one element, you should use c() function which means to combine the elements into a vector. We can IDENTIFY elements of a list using the [[]] convention. |
|