What will be the output of the following R code? [code] > x <- data.frame(foo = 1:4, bar = c(T, T, F, F)) > ncol(x) [/code]

Lê Như Ý

New member
What will be the output of the following R code?
Code:
> x <- data.frame(foo = 1:4, bar = c(T, T, F, F))
> ncol(x)
A. 2
B. 4
C. 7
D. 9
 

Tìm kiếm

Back
Top