| cars | R Documentation |
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.
A data frame with 406 observations on the following 10 variables:
makemake of car, a factor with levels amc audi bmw buick cadillac chev chrysler citroen datsun dodge fiat ford hi honda mazda mercedes mercury nissan oldsmobile opel peugeot plymouth pontiac renault saab subaru toyota triumph volvo vw
modelmodel 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 Amer Eur Japan
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.
Donoho, David and Ramos, Ernesto (1982), “PRIMDATA: Data Sets for Use With PRIM-H” (Draft).
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.