R Dataset / Package rpart / cu.summary

Submitted by pmagunia on March 9, 2018 - 1:06 PM
Dataset License
GNU General Public License v2.0
Attachment Size
dataset-90446.csv 5.9 KB
Documentation

Automobile Data from 'Consumer Reports' 1990

Description

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.

Usage

cu.summary

Format

This data frame contains the following columns:

Price

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

Country

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

Reliability

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

Mileage

fuel consumption miles per US gallon, as tested.

Type

a factor with levels Compact Large Medium Small Sporty Van

Source

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

Examples

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.

Documentation License
GNU General Public License v2.0

From Around the Site...

Title Authored on Content type
R Dataset / Package rpart / solder March 9, 2018 - 1:06 PM Dataset
R Dataset / Package datasets / euro March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / SeaSlugs March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Star March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Langren1644 March 9, 2018 - 1:06 PM Dataset