Deepasre M.P
October 27, 2026
Predict a car's fuel efficiency in seconds, with no statistics background needed.
The app fits a linear model on the mtcars dataset:
model <- lm(mpg ~ wt + cyl + am, data = mtcars)
round(coef(model), 2)
(Intercept) wt cyl am
39.42 -3.13 -1.51 0.18
Example: a 3,000 lb, 4-cylinder manual car is predicted at 24.2 MPG.