MPG from car manufacturers
Nakarin Kamkheaw
About the app
- There are millions cars in the globe; almost of them use gas.
- We are running out of gas and using it jeopardizes the earth.
- So, what kind of cars should we consider?
- To last the world longer!
- Data set "mpg" is being used for this analysis.
- The app is developed using Shiny web framework.
- It consists of two parts: ui.R and server.R.
ui.R
shinyUI
(
pageWithSidebar
(
headerPanel( ),
sidebarPanel( ),
mainPanel
(
fluidRow(column( ), column( ))
)
)
)
server.R
shinyServer
(
function(input, output)
{
output$numCars <- renderText( )
output$overAllMpg <- renderText( )
output$histCtyMpg <- renderPlot( )
output$histHwyMpg <- renderPlot( )
}
)