Home / CSE MCQs / R Programming MCQs :: Discussion

Discussion :: R Programming MCQs

  1. Which will be the output of following code ?

    x - 3
     switch(6, 2+2, mean(1:10), rnorm(5))
  2. A.
    10
    B.
    1
    C.
    NULL
    D.
    All of the mentioned

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    If value is too large or too small NULL is returned.


Be The First To Comment