R Programming MCQ set number 00407

1. Which of the following statement would print “0” “1” “2” “3” “4” “5” “6” for the following code ? > x <- 0:6 a) as.character(x) b) as.logical(x) c) as.numeric(x) d) none of the mentioned AnswerAnswer: a [Reason:] as.character would print number from 0 to 6. 2. Point out the correct statement : a) rep()…


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