Examveda

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)

B. as.logical(x)

C. as.numeric(x)

D. as.num(y)

Answer: Option A


This Question Belongs to R Programming >> R Programming Basics

Join The Discussion

Related Questions on R Programming Basics