What will be the output of the following R code? [code]y <- c(TRUE, 2)[/code]

Ivanesn

New member
What will be the output of the following R code?
Code:
y <- c(TRUE, 2)
A. [1] “TRUE” “2”
B. [1] “TRUE” 2
C. [1] “0” “2”
D. [1] 1 2
 

Tìm kiếm

Back
Top