| automobiles {lgrdata} | R Documentation |
Cars data
Description
Fuel efficiency, weight, acceleration, and other measurements on 398 cars. The majority
of the data come from American cars (n = 249), and some European (n = 70) and Japanese (n = 79).
Not to be confused with cars data provided by base R, see cars and mtcars.
Usage
automobiles
Format
A data frame with 398 rows and 9 variables:
car_namecharacter Make and model
originfactor 'American', 'European' or 'Japanese'
build_yeardouble Year car was built
fuel_efficiencydouble Liters / 100km
cylindersinteger Nr. of cylinders
engine_volumedouble Engine volume ('displacement') in liters.
horsepowerinteger Engine power (hp)
weightdouble Car weight in kg
accelerationdouble Time to accelerate to 60mph
Source
Data originally hosted on <http://lib.stat.cmu.edu/datasets/>, also used in ISLR (as the 'Auto' dataset). Converted to metric units for use in this package.
[Package lgrdata version 0.1.1 Index]