Vidyalelo
R Programming · Q44

Introduction to R Programming

Programming · R Programming · question 44

Q44

What will be the output of the following R code? x<- c (“a”,” b”) as.numeric(x)

A.
[1] 1 2
B.
[1] TRUE TRUE
C.
[1] NA NA (Warning message: NAs introduced by coercion)
Answer
D.
[1] NAN

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board