What will be the output of the following R code? [code] > x <- c("a", "b", "c") > as.logical(x) [/code]

Trường Phan

New member
What will be the output of the following R code?
Code:
> x <- c("a", "b", "c")
> as.logical(x)
A. a b c
B. NA NA NA
C. 0 1 2
D. 6 8 9
 

Tìm kiếm

Back
Top