Question: If x = c ( CE , IE , EE , DS , DS ,

If x=c("CE","IE","EE","DS","DS","EE","IE"), then which of the following commands will display the following output?
Output:
[1] CE IE EE DS DS EE IE
Levels: CE DS EE IE
a. table(x)
b. x=c("CE","IE","EE","DS","DS","EE","IE") data.frame(x)
c.>x=c("CE","IE","EE","DS","DS","EE","IE")
d.>x=c("CE","IE","EE","DS","DS","EE","IE")>factor(x)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!