Home / CSE MCQs / R Programming MCQs :: Discussion

Discussion :: R Programming MCQs

  1. Data frames can be converted to a matrix by calling data._______
  2. A.
    matr()
    B.
    mat()
    C.
    matrix()
    D.
    All of the mentioned

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    as.matrix() function should be used to coerce a data frame to a matrix.


Be The First To Comment