1

Which of the following statement would print "0" "1" "2" "3" "4" "5" "6" for the following R code? > x <- 0:6

Correct Answer: as.character(x)

Make the most of this question

This page focuses on one R Programming MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

R Programming MCQs MCQ: Which of the following statement would print "0" "1" "2" "3" "4" "5" "6" for the following R code? > x <- 0:6 | Extra Education