Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What will be the output of the following R code?
> x <- 6
> class(x)

What will be the output of the following R code?
> x <- 6
> class(x)
a) “integer”
b) “numeric”
c) “real”
d) “imaginary”

Answer: b
Explanation: class is used to determine data type of the variable.

Join The Discussion