Lê Thị Thuỳ Trang
New member
What will be the output of the following R code?
A.
B.
C.
D.
Code:
> x <- factor(c("yes", "yes", "no", "yes", "no"))
> table(x)
Code:
no yes
2 3
Code:
yes no
2 3
Code:
no yes
2 2
Code:
yes yes
6 2