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 < – 1:4
> y < – 6:9
> z < – x + y
> z

What will be the output of the following R code?
> x < - 1:4
> y < - 6:9
> z < - x + y
> z
a) 7 9 11 13
b) 7 9 11 13 14
c) 9 7 11 13
d) NULL

Answer: a
Explanation: This is simplest example of adding two vectors together.

Join The Discussion