Audi | R Documentation |
The data in this data set were collected on February 15th, 2017, and consists of sales prices and technical data on 30 cars of type Audi A4.
Audi
A data frame with 30 observations (rows) and 10 variables (columns).
Column name | Data type | Description | Values | |
[,1] | Price | integer | Price of the car in 1000 NOK | (42 - 334) |
[,2] | Km | integer | Distance driven in 1000 Km | (43 - 259) |
[,3] | Hk | integer | Horse power | (102 - 211) |
[,4] | Transition | factor | Transition system: M=manual, A=Automatic | (A, M) |
[,5] | Volume | numeric | Cylinder volume | (1.6 - 2.0) |
[,6] | Fuel | factor | Fuel type: D=Diesel, G=Gasoline | (D, G) |
[,7] | CO2 | integer | CO2-emission (g/km) | (123 - 199) |
[,8] | Weight | integer | The weight of the car | (1360 - 1600) |
[,9] | year | integer | Production year | (2005 - 2014) |
[,10] | Age | numeric | Years since production (= 2017 – year) | (3 -12) |
The Audi data set was used in Group-Exercises-Regression I (STAT340), Exercise 1.
# A short summary of the variables
summary(Audi)
# Plot Age vs. Prices
plot(Audi$Age, Audi$Price*1000, xlab =
"Number of years since production", ylab = "Price in NOK")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.