| cars {VisCollin} | R Documentation |
Cars Data
Description
Data from the 1983 ASA Data Exposition, held in conjunction with the Annual Meetings in Toronto, August 15-18, 1983, https://community.amstat.org/jointscsg-section/dataexpo/dataexpobefore1993 The data set was collected by Ernesto Ramos and David Donoho on characteristics of automobiles.
Format
A data frame with 406 observations on the following 10 variables:
makemake of car, a factor with levels
amcaudibmwbuickcadillacchevchryslercitroendatsundodgefiatfordhihondamazdamercedesmercurynissanoldsmobileopelpeugeotplymouthpontiacrenaultsaabsubarutoyotatriumphvolvovwmodelmodel of car, a character vector
mpgmiles per gallon, a numeric vector
cylindernumber of cylinders, a numeric vector
engineengine displacement (cu. inches), a numeric vector
horsehorsepower, a numeric vector
weightvehicle weight (lbs.), a numeric vector
acceltime to accelerate from O to 60 mph (sec.), a numeric vector
yearmodel year (modulo 100), a numeric vector ranging from 70 – 82
originregion of origin, a factor with levels
AmerEurJapan
Source
The data was provided for the ASA Data Exposition in a "shar" file, http://lib.stat.cmu.edu/datasets/cars.data. It is a version of that used by Donoho and Ramos (1982) to illustrate PRIM-H.
References
Donoho, David and Ramos, Ernesto (1982), “PRIMDATA: Data Sets for Use With PRIM-H” (Draft).
Examples
data(cars)
cars.mod <- lm (mpg ~ cylinder + engine + horse + weight + accel + year,
data=cars)
car::vif(cars.mod)
(cd <- colldiag(cars.mod, center=TRUE))
# simplified display
print(cd, fuzz=.3)