1
2
3
4
5
#

Name:

Description:

U.S. data extracted from Cars93, a data frame in the MASS package.

Variables:

This data frame contains the following columns:

Type

Type of car, e.g. Sporty, Van, Compact

Min.Price

Price for a basic model

Price

Price for a mid-range model

Max.Price

Price for a ‘premium’ model

Range.Price

Difference between Max.Price and Min.Price

RoughRange

Rough.Range plus some N(0,.0001) noise

gpm100

The number of gallons required to travel 100 miles

MPG.city

Average number of miles per gallon for city driving

MPG.highway

Average number of miles per gallon for highway driving

Link To Google Sheets:

Rows:

Columns:

License Type:

References/Notes/Attributions:

Source

MASS package

References

Venables, W.N.\ and Ripley, B.D., 4th edn 2002. Modern Applied Statistics with S. Springer, New York.

See also ‘R’ Complements to Modern Applied Statistics with S-Plus, available from http://www.stats.ox.ac.uk/pub/MASS3/

R Dataset Upload:

Use the following R code to directly access this dataset in R.

d <- read.csv("https://www.key2stats.com/US_Car_Price_Data_212_91.csv")

R Coding Interface:


Datasets Tag Questions & Instructional Blocks

NumberContentType
No results found.