Cars2004 {mffSM} | R Documentation |
Data on 428 new vehicles that were on the market in the U.S. in 2004. The variables recorded include price, measurements relating to the size of the vehicle, and fuel efficiency.
Data Cars2004nh
are a subset of Cars2004
containing only
cars with a non-hybrid engine.
data(Cars2004) data(Cars2004nh)
A data.frame
with 428 rows (425 rows for Cars2004nh
) and the following variables.
vehicle name
type of the vehicle, 1 = personal, 2 = wagon, 3 = sport utility vehicle (SUV), 4 = pickup, 5 = sports car, 6 = minivan
drive of the vehicle, 1 = front-wheel, 2 = rear-wheel, 3 = all-wheel (4x4)
is this a hybrid (gas/electric) vehicle, 0 =
no, 1 = yes, not present in Cars2004nh
suggested retail price, what the manufacturer thinks the vehicle is worth, including adequate profit for the automaker and the dealer [USD]
dealer cost (or “invoice price”), what the dealership pays the manufacturer [USD]
an average of price.retail
and
price.dealer
[USD]
city fuel consumption [liters/100 km]
highway fuel consumption [liters/100 km]
an average of cons.city
and
cons.highway
[liters/100 km]
engine size [liters]
number of cylinders, -1 if rotary engine
engine horsepower
weight [kg]
reciprocal of the weight
natural logarithm of the weight
wheel base [cm]
length of the vehicle [cm]
width of the vehicle [cm]
factor
with levels personal/wagon/SUV/pickup/sport/minivan corresponding to
the variable type
factor
with levels front/rear/4x4 corresponding to
the variable drive
factor
with levels No/Yes
corresponding to the variable hybrid
, not present in Cars2004nh
Kiplinger's Personal Finance, December 2003, vol. 57, no. 12, pp. 104-123, http:/www.kiplinger.com
http://www.amstat.org/publications/jse/datasets/04cars.dat.txt
Transformations from units used classically in the U.S. (miles per gallon, inches, pounds) into units used classically in the continental Europe (liters per 100 km, centimeters, kilograms) provided by the package author.
data(Cars2004) summary(Cars2004) data(Cars2004nh) summary(Cars2004nh)