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) |
d. [1] NAN |
Answer: [1] NA NA (Warning message: NAs introduced by coercion) |
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) |
d. [1] NAN |
Answer: [1] NA NA (Warning message: NAs introduced by coercion) |