prius_mpg: User reported fuel efficiency for 2017 Toyota Prius Prime

prius_mpgR Documentation

User reported fuel efficiency for 2017 Toyota Prius Prime

Description

Fueleconomy.gov, the official US government source for fuel economy information, allows users to share gas mileage information on their vehicles. These data come from 19 users sharing gas mileage on their 2017 Toyota Prius Prime. Note that these data are user estimates and since the sources data cannot be verified, the accuracy of these estimates are not guaranteed.

Usage

prius_mpg

Format

A data frame with 19 observations on the following 10 variables.

average_mpg

Average mileage as estimated by the user.

state

US State the user lives in.

stop_and_go

Proportion of stop and go driving.

highway

Proportion of highway driving.

last_updated

Date estimate was last updated.

Source

Fueleconomy.gov, https://www.fueleconomy.gov/mpg/MPG.do?action=mpgData&vehicleID=38531&browser=true&details=on, retrieved 2019-04-14.

Examples


library(ggplot2)
library(dplyr)

ggplot(prius_mpg, aes(x = average_mpg)) +
  geom_histogram(binwidth = 25)

openintro documentation built on June 22, 2024, 7:37 p.m.