R Programming MCQ set number 00405

1. Which of the following extracts first element from the following list ? > x <- list(foo = 1:4, bar = 0.6) a) x[[1]]. b) x[1]. c) x[[0]]. d) None of the mentioned AnswerAnswer: a [Reason:] The [[ operator can also use named indices so that you don’t have to remember the exact ordering of…


This content is for paid premium members only.
You can view complete answer after activation your membership.


Need only one answers. Simply buy single day pass and email. We will send answers for this question.
Login Buy membership