automobiles: Cars data

Description Usage Format Source

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

1

Format

A data frame with 398 rows and 9 variables:

car_name

character Make and model

origin

factor 'American', 'European' or 'Japanese'

build_year

double Year car was built

fuel_efficiency

double Liters / 100km

cylinders

integer Nr. of cylinders

engine_volume

double Engine volume ('displacement') in liters.

horsepower

integer Engine power (hp)

weight

double Car weight in kg

acceleration

double 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.


lgrdata documentation built on June 19, 2019, 5:03 p.m.