Que: What will be the output of the following R code?

> x <- 6
> class(x)
a. “integer”
b. “numeric”
c. “real”
d. “imaginary”
Answer: “numeric”

Leave a Comment