This presentation is part of the Developing Data Products Coursera.org course project submission.
It is an R Presentation generated with RStudio.
2021/1/5
This presentation is part of the Developing Data Products Coursera.org course project submission.
It is an R Presentation generated with RStudio.
The “mtcars” data was extracted from the 1974 Motor Trend US magazine, and comprises fuel consumption and 10 aspects of automobile design and performance for 32 automobiles.
The application build a linear basing on the data, so one could predict mpg onece given cyl, disp and hp.
The regression is a linear model with three variables:
model <- lm(data=mtcars,mpg~as.factor(cyl)+disp+hp)
Use the Shiny App at https://ma-haoran.shinyapps.io/mtcars/
Look up the source code at https://github.com/ma-haoran/presentation/tree/main/regression.model