Learn R Programming

UsingR (version 2.0-7)

midsize: Price of new and used of three mid-sized cars

Description

New and used prices of three popular mid-sized cars.

Usage

data(midsize)

Arguments

Format

A data frame with 15 observations on the following 4 variables.

Year

2004 is new car price, others are for used car

Accord

Honda Accord

Camry

Toyota Camry

Taurus

Ford Taurus

Details

The value of a car depreciates over time. This data gives the price of a new car and values of similar models for previous years as reported by https://www.edmunds.com.

Examples

Run this code
# NOT RUN {
data(midsize)
plot(Accord ~ I(2004-Year), data = midsize)
# }

Run the code above in your browser using DataLab