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
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
fuel consumption miles per US gallon, as tested.
a factor with levels
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.
z.auto <- rpart(Mileage ~ Weight, car.test.frame) summary(z.auto)