Alexander Klonov
11.10.2020
Most of people use cars these days and cars can be very different from big family car to personal hypercar. And based on type of car it's fuel consumption may vary. A huge Toyota LandCruser definitely will use more fuel for a same distance than Volkswagen beetle. What's why it's important to predict how many miles auto can ride with some amount of the fuel.
library(ggplot2)
summary(cars)
speed dist
Min. : 4.0 Min. : 2.00
1st Qu.:12.0 1st Qu.: 26.00
Median :15.0 Median : 36.00
Mean :15.4 Mean : 42.98
3rd Qu.:19.0 3rd Qu.: 56.00
Max. :25.0 Max. :120.00