Examveda

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: Option B


This Question Belongs to R Programming >> R Programming Basics

Join The Discussion

Related Questions on R Programming Basics