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