Last active
October 6, 2016 03:29
-
-
Save natbusa/7010191 to your computer and use it in GitHub Desktop.
Extract Cars93 to a cvs file using R and the MASS library
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library("MASS") | |
write.csv(Cars93, 'cars93.csv') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
data(Cars93) in the MASS package contains data on 93 makes of car
sold in the USA.
Find the cheapest car in each type, and the car with the greatest fuel
efficiency
each cars horsepower and the mean for its type
check to see that all the factors are correctly set as factors.
I need help with this. i will appreciate if you write with R language.
Thanks