MPG {sharpData}R Documentation

Mileage Data

Description

The MPG data frame has 15 rows and 10 columns.

Usage

data(MPG)

Format

This data frame contains the following columns:

speed

a numeric vector of cruising speeds in miles per hour

corsica88

miles per gallon for a 1988 Corsica

legacy93

miles per gallon for a 1993 Legacy

olds94

miles per gallon for a 1994 Oldsmobile

cutlass94

miles per gallon for a 1994 Oldsmobile Cutlass

chevpickup94

miles per gallon for a 1994 Chevrolet Pickup

cherokee94

miles per gallon for a 1994 Jeep Cherokee

villager94

miles per gallon for a 1994 Villager

prizm95

miles per gallon for a 1995 Prizm

celica97

miles per gallon for a 1997 Toyota Celica

Source

B.H. West, R.N. McGill, J.W. Hodgson, S.S. Sluder, D.E. Smith, Development and Verification of Light-Duty Modal Emissions and Fuel Consumption Values for Traffic Models, Washington, DC, April 1997, and additional project data, April 1998.

Examples

data(MPG)
plot(celica97 ~ speed, data = MPG)

[Package sharpData version 1.4 Index]