1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
\name{cu.summary}
\alias{cu.summary}
\title{Automobile Data from 'Consumer Reports' 1990}
\description{
The \code{cu.summary} data frame has 117 rows and 5 columns,
giving data on makes of cars taken from the April, 1990 issue of
\emph{Consumer Reports}.
}
\usage{
cu.summary
}
\format{
This data frame contains the following columns:
\describe{
\item{\code{Price}}{
a numeric vector giving the list price in US dollars of a standard model
}
\item{\code{Country}}{
of origin, a factor with levels
\code{Brazil}
\code{England}
\code{France}
\code{Germany}
\code{Japan}
\code{Japan/USA}
\code{Korea}
\code{Mexico}
\code{Sweden}
\code{USA}
}
\item{\code{Reliability}}{
an ordered factor with levels
\code{Much worse} < \code{worse} < \code{average} < \code{better} < \code{Much better}
}
\item{\code{Mileage}}{
fuel consumption miles per US gallon, as tested.
}
\item{\code{Type}}{
a factor with levels
\code{Compact}
\code{Large}
\code{Medium}
\code{Small}
\code{Sporty}
\code{Van}
}
}
}
\source{
\emph{Consumer Reports}, April, 1990, pp. 235--288 quoted in
John M. Chambers and Trevor J. Hastie eds. (1992)
\emph{Statistical Models in S}, Wadsworth and Brooks/Cole,
Pacific Grove, CA 1992, pp. 46--47.
}
\seealso{\code{\link{car.test.frame}}}
\examples{
fit <- rpart(Price ~ Mileage + Type + Country, cu.summary)
plot(fit, compress=TRUE)
text(fit, use.n=TRUE)
}
\keyword{datasets}
|