Examveda

What will be the output of the following R code?
> x <- 1:4
> x > 2

A. 1 2 3 4

B. FALSE FALSE TRUE TRUE

C. 1 2 3 4 5

D. 5 4 3 1 2 1

Answer: Option B


This Question Belongs to R Programming >> Data Structures In R Programming

Join The Discussion

Related Questions on Data Structures in R Programming