Indiana University Purdue University Submit the R Script Computer Science Task
Description
Having Trouble Meeting Your Deadline?
Get your assignment on Indiana University Purdue University Submit the R Script Computer Science Task completed on time. avoid delay and – ORDER NOW
Using the dataset ToyotaCorolla.csv, complete the following tasks:
- Set a working directory and load it in the data file. (Please show the command)
- Remove observations (i.e., rows) from 3-200, 500-502, and 1000-1205.
- Remove observations if KM>=120,000. How many records did you remove?
- Remove variable Met_Color.
- Replace any value greater than 200 in HP with 180.
- Create a new variable called Old_Car. If the Age_08_04>=12, it takes the value of Old, otherwise Not too old. (Hint: Use ifelse statement)
- Generate dummy variables for Fuel_Type. (Hint: Use ifelse statement and Create two new columns, Diesel & Petrol, with binary values)
Submit the R script