Google News
logo
R - Quiz(MCQ)
Which of the following code constructs vector of length 11?
A)
> v <- 2*x + y + 4
B)
> v <- 3*x + y + 1
C)
> v <- 2*x + y + 1
D)
> v <- 3*x + y + 2

Correct Answer :   > v <- 2*x + y + 1


Explanation : The elementary arithmetic operators are the usual +, -, *, / and ^ for raising to a power.

Advertisement