car90 | R Documentation |
Data on 111 cars, taken from pages 235–255, 281–285 and 287–288 of the April 1990 Consumer Reports Magazine.
data(car90)
The data frame contains the following columns
a factor giving the country in which the car was manufactured
engine displacement in cubic inches
engine displacement in liters
engine revolutions per mile, or engine speed at 60 mph
distance between the car's head-liner and the head of a 5 ft. 9 in. front seat passenger, in inches, as measured by CU
maximum front leg room, in inches, as measured by CU
front shoulder room, in inches, as measured by CU
the overall gear ratio, high gear, for manual transmission
the overall gear ratio, high gear, for automatic transmission
net horsepower
the red line—the maximum safe engine speed in rpm
height of car, in inches, as supplied by manufacturer
overall length, in inches, as supplied by manufacturer
luggage space
a numeric vector of gas mileage in miles/gallon as tested by CU; contains NAs.
alternate name, if the car was sold under two labels
list price with standard equipment, in dollars
distance between the car's head-liner and the head of a 5 ft 9 in. rear seat passenger, in inches, as measured by CU
rear fore-and-aft seating room, in inches, as measured by CU
rear shoulder room, in inches, as measured by CU
an ordered factor with levels Much worse <
worse < average < better < Much
better: contains NA
s.
factor giving the rim size
Number of turns of the steering wheel required for a turn of 30 foot radius, manual steering
Number of turns of the steering wheel required for a turn of 30 foot radius, power steering
steering type offered: manual, power, or both
fuel refill capacity in gallons
factor giving tire size
manual transmission, a factor with levels , man.4, man.5 and man.6
automatic transmission, a factor with levels , auto.3, auto.4, and auto.CVT. No car is missing both the manual and automatic transmission variables, but several had both as options
the radius of the turning circle in feet
a factor giving the general type of car. The levels are: Small, Sporty, Compact, Medium, Large, Van
an order statistic giving the relative weights of the cars; 1 is the lightest and 111 is the heaviest
length of wheelbase, in inches, as supplied by manufacturer
width of car, in inches, as supplied by manufacturer
This is derived (with permission) from the data set car.all
in
S-PLUS, but with some further clean up of variable names and definitions.
car.test.frame
,
cu.summary
for extracts from other versions of the dataset.
data(car90) plot(car90$Price/1000, car90$Weight, xlab = "Price (thousands)", ylab = "Weight (lbs)") mlowess <- function(x, y, ...) { keep <- !(is.na(x) | is.na(y)) lowess(x[keep], y[keep], ...) } with(car90, lines(mlowess(Price/1000, Weight, f = 0.5)))