What Will Be The Output Of The Following R Codep Pre Langrsplus #44
What will be the output of the following R code?</p> <pre><code class="language-rsplus"> x<- c (“a”,” b”) as.numeric(x)</code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs110 R Language. It can also be found in gs gs110 History, Overview - Overview of R - Quiz No.3.
What will be the output of the following R code?
x<- c (“a”,” b”) as.numeric(x)
[1] 1 2
[1] TRUE TRUE
[1] NA NA (Warning message: NAs introduced by coercion)
[1] NAN