Home / CSE MCQs / R Programming MCQs :: Discussion

Discussion :: R Programming MCQs

  1. Which of the following truncates real x to integers ?
  2. A.
    as.numeric(x)
    B.
    as.integer(x)
    C.
    as.order(x)
    D.
    All of the mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    Compare to round(x,0) in R.


Be The First To Comment