cu.summary               package:rpart               R 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' '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 1992,
     pp. 46-47.

See Also:

     'car.test.frame'

Examples:

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

