Home / CSE MCQs / R Programming MCQs :: Discussion

Discussion :: R Programming MCQs

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

     p - as.POSIXlt(x)
     names(unclass(p))
     p$wday
  2. A.
    1
    B.
    2
    C.
    3
    D.
    NULL

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    The POSIXlt object contains some useful metadata.


Be The First To Comment