Google News
logo
R - Quiz(MCQ)
Which function takes a dim attribute which creates the required number of dimensions?
A)
Array
B)
Lists
C)
Matrix
D)
Vector

Correct Answer :   Array


Explanation : The array function takes a dim attribute which creates the required number of dimensions. While matrices are confined to two dimensions, arrays could be of any number of dimensions.

Advertisement