Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

automobiles

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_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

Example Datasets for a Learning Guide to R

v0.1.1
CC0
Authors
Remko Duursma [aut, cre], Jeff Powell [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.