Que: Which of the following statement would print “0” “1” “2” “3” “4” “5” “6” for the following R code?

a. as.character(x)
b. as.logical(x)
c. as.numeric(x)
d. as.num(y)
Answer: as.character(x)

Leave a Comment