R Dataset / Package Stat2Data / PorscheJaguar
On this R-data statistics page, you will find information about the PorscheJaguar data set which pertains to PorscheJaguar. The PorscheJaguar data set is found in the Stat2Data R package. You can load the PorscheJaguar data set in R by issuing the following command at the console data("PorscheJaguar"). This will load the data into a variable called PorscheJaguar. If R says the PorscheJaguar data set is not found, you can try installing the package by issuing this command install.packages("Stat2Data") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the PorscheJaguar R data set. The size of this file is about 1,415 bytes.
PorscheJaguar
Description
Compare prices for Porsche and Jaguar cars offered for sale at an internet site
Format
A dataset with 60 observations on the following 5 variables.
Car | Car model: Jaguar or Porsche |
Price | Price (in $1,000's) |
Age | Age of the car (in years) |
Mileage | Previous miles driven (in 1,000's) |
Porsche | Indicator for Porsche (1 ) or Jaguar (0 ) |
Details
Two students collected samples of Porsche and Jaguar cars that were offered for sale at an internet site. In addition to asking price, they recorded the model year (converting to age) and mileage of each advertised car.
Source
Student project data collected from autotrader.com in Spring 2007.
Dataset imported from https://www.r-project.org.