Home / CSE MCQs / R Programming MCQs :: Discussion

Discussion :: R Programming MCQs

  1. What would be the output of the following code ?

    m - matrix(nrow = 2, ncol = 3)
    dim(m)
  2. A.
    3 2
    B.
    2 3
    C.
    2 2
    D.
    None of the mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    Matrices are constructed column-wise.


Be The First To Comment