Which of the following extracts first element from the following R vector? [code] > x <- c("a", "b", "c", "c", "d", "a") [/code]

Khánh Đoan

New member
Which of the following extracts first element from the following R vector?
Code:
 > x <- c("a", "b", "c", "c", "d", "a")
A. x[10]
B. x[1]
C. x[0]
D. x[2]
 

Tìm kiếm

Back
Top