Question: Use R-studio to answer the question Create a data frame called apartmentRatings with the following data. Show your code as well as the final table

Use R-studio to answer the question
Create a data frame called apartmentRatings with the following data. Show your code as well as the final table as output. Apartment Distance from Airport Distance to Downtown Distance to University U AWN Rent 2000 2200 2200 2200 2000 2800 Add an ordinal rating column (a "factor") called rentRating where you categorize rent as either low ( 2700). Show the additional lines of code and the new table [you don't have to show all of the code you included in 2.3, above). Use the str() function to demonstrate that you have created a factor variable in your new column
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
