Que: What will be the output of the following R 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
Answer: NA NA NA

Leave a Comment