What Will Be The Output Of The Following R Codep Pre Langrsplus #223
What will be the output of the following R code?</p> <pre><code class="language-rsplus"> > x <- factor(c("yes", "yes", "no", "yes", "no")) > table(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 Nuts and Bolts and Getting Data In and Out - Reading Datasets - Quiz No.1.
What will be the output of the following R code?
> x <- factor(c("yes", "yes", "no", "yes", "no")) > table(x)
no yes 2 3
yes no 2 3
no yes 2 2
yes yes 6 2