Question: From this problem on , you will use RStudio to answer the following questions. Create a vector named Sports and assign the following values to
From this problem on you will use RStudio to answer the following questions.
Create a vector named Sports and assign the following values to it: "Basketball", "Football", "Tennis", "Swimming".
a Print the element in the vector. Copy the results in Console as your answer without any edits. eg "Basketball"
Question Blank of
type your answer...
b Convert the vector Sports to a factor named Sportsfactor. Print Sportsfactor. The value with the highest level in the factor is
Question Blank of
type your answer...
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
