What Is The Meaning Of The Following R Functionp Pre Langrsplus #123
What is the meaning of the following R function?</p> <pre><code class="language-rsplus">x <- c(4, 5, 1, 2, 3, 3, 4, 4, 5, 6) x <- as.factor(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 Getting Started - Console Input and Evaluation - Quiz No.2.
What is the meaning of the following R function?
x <- c(4, 5, 1, 2, 3, 3, 4, 4, 5, 6) x <- as.factor(x)
x becomes a factor
x is a factor
x does not exist
x is not a vector