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

What will be the output of the following R code?
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
 

Tìm kiếm

Back
Top