R Dataset / Package rpart / cu.summary

On this R-data statistics page, you will find information about the cu.summary data set which pertains to Automobile Data from 'Consumer Reports' 1990. The cu.summary data set is found in the rpart R package. You can load the cu.summary data set in R by issuing the following command at the console data("cu.summary"). This will load the data into a variable called cu.summary. If R says the cu.summary 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 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 cu.summary R data set. The size of this file is about 6,046 bytes.

Automobile Data from 'Consumer Reports' 1990


The cu.summary data frame has 117 rows and 5 columns, giving data on makes of cars taken from the April, 1990 issue of Consumer Reports.




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 Brazil, England, France, Germany, Japan, Japan/USA, Korea, Mexico, Sweden and USA


an ordered factor with levels Much worse < worse < average < better < Much better


fuel consumption miles per US gallon, as tested.


a factor with levels Compact Large Medium Small Sporty Van


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

car.test.frame, car90


fit <- rpart(Price ~ Mileage + Type + Country, cu.summary)
par(xpd = TRUE)
plot(fit, compress = TRUE)
text(fit, use.n = TRUE)

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

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-rpart-cusummary.html" width="100%" height="100%" style="border:0px"></iframe>