adplus-dvertising
frame-decoration

Question

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: (a).Error in vector(y): invalid ‘mode’ argument

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be the output of the following R program?