R Dataset / Package rpart / car.test.frame


On this Picostat.com statistics page, you will find information about the car.test.frame data set which pertains to Automobile Data from 'Consumer Reports' 1990. The car.test.frame data set is found in the rpart R package. You can load the car.test.frame data set in R by issuing the following command at the console data("car.test.frame"). This will load the data into a variable called car.test.frame. If R says the car.test.frame data set is not found, you can try installing the package by issuing this command install.packages("rpart") and then attempt to reload the data. 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 car.test.frame R data set. The size of this file is about 3,502 bytes.

Automobile Data from 'Consumer Reports' 1990


The car.test.frame data frame has 60 rows and 8 columns, giving data on makes of cars taken from the April, 1990 issue of Consumer Reports. This is part of a larger dataset, some columns of which are given in cu.summary.




This data frame contains the following columns:


a numeric vector giving the list price in US dollars of a standard model


of origin, a factor with levels France, Germany, Japan , Japan/USA, Korea, Mexico, Sweden and USA


a numeric vector coded 1 to 5.


fuel consumption miles per US gallon, as tested.


a factor with levels Compact Large Medium Small Sporty Van


kerb weight in pounds.


the engine capacity (displacement) in litres.


the net horsepower of the vehicle.


Consumer Reports, April, 1990, pp. 235–288 quoted in

John M. Chambers and Trevor J. Hastie eds. (1992) Statistical Models in S, Wadsworth and Brooks/Cole, Pacific Grove, CA, pp. 46–47.

See Also

car90, cu.summary


z.auto <- rpart(Mileage ~ Weight, car.test.frame)

Dataset imported from https://www.r-project.org.

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-40548.csv 3.42 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0