car.test.frame {rpart} | R Documentation |
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
.
data(car.test.frame)
This data frame contains the following columns:
Price
Country
France
Germany
Japan
Japan/USA
Korea
Mexico
Sweden
USA
Reliability
1
to 5
.
Mileage
Type
Compact
Large
Medium
Small
Sporty
Van
Weight
Disp.
HP
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 1992, pp. 46–47.
data(car.test.frame) z.auto <- rpart(Mileage ~ Weight, car.test.frame) summary(z.auto)