Vidyalelo
R Programming · Q74

R Programming Basics

Programming · R Programming · question 74

Q74

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

A.
as.character(x)
Answer
B.
as.logical(x)
C.
as.numeric(x)
D.
as.num(y)

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board