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

y<-0:5
 	vector(y)
 	Y[3]
a. Error in vector(y): invalid ‘mode’ argument
b. 1
c. 4
d. 3
Answer: Error in vector(y): invalid ‘mode’ argument

Leave a Comment