InterviewSolution
Saved Bookmarks
| 1. |
__________ can contain heterogeneous inputs.(a) Matrix(b) Data Frames(c) Matrix and Data Frames(d) Does not existsI got this question in quiz.This intriguing question comes from Functions in division Control Structures, Functions, Scoping Rules, Loop Functions and Debugging of R Programming |
|
Answer» CORRECT choice is (b) Data Frames To explain: Data frame can contain HETEROGENEOUS inputs while a matrix cannot. In the matrix, only similar data types can be stored WHEREAS in a data frame there can be DIFFERENT data types like CHARACTERS, integers or other data frames. |
|